Part Number Hot Search : 
74AC04 24S12 VB409 MTD5N05 MAX549A DDZX43 E8801JEE 0505S
Product Description
Full Text Search
 

To Download VT8231 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
      
        !" #$% %   %  $&%   $   ' % %  "   %         "    '      (    (    $ %  !"))"**        % +      % , -    % %   .%   %   %      - % %  '  /   %    %   %  $  !    01234 562 *7 8
9 %   '% 7
:4

8; &rs\uljkw     9,$ 7hfkqrorjlhv ,qfrusrudwhg 3ulqwhg lq wkh 8qlwhg 6wdwhv $ // 5 ,*+76 5 (6(59('  1r sduw ri wklv grfxphqw pd\ eh uhsurgxfhg wudqvplwwhg wudqvfulehg vwruhg lq d uhwulhydo v\vwhp ru wudqvodwhg lqwr dq\ odqjxdjh lq dq\ irup ru e\ dq\ phdqv hohfwurqlf phfkdqlfdo pdjqhwlf rswlfdo fkhplfdo pdqxdo ru rwkhuzlvh zlwkrxw wkh sulru zulwwhq shuplvvlrq ri 9,$ 7hfkqrorjlhv ,qfrusrudwhg 97 pd\ rqo\ eh xvhg wr lghqwli\ surgxfwv ri 9,$ 7hfkqrorjlhv ,qf lv d uhjlvwhuhg wudghpdun ri 9,$ 7hfkqrorjlhv ,qfrusrudwhg 36 70 lv d uhjlvwhuhg wudghpdun ri ,qwhuqdwlrqdo %xvlqhvv 0dfklqhv &rus 3hqwlxp 70  3hqwlxp3ur 70  3hqwlxp,, 70  3hqwlxp,,, 70  &hohurq 70 dqg *7/ 70 duh uhjlvwhuhg wudghpdunv ri ,qwho &rus :lqgrzv  70  :lqgrzv  70  :lqgrzv 17 70  dqg 3oxj dqg 3od\ 70 duh uhjlvwhuhg wudghpdunv ri 0lfurvriw &rus 3&, 70 lv d uhjlvwhuhg wudghpdun ri wkh 3&, 6shfldo ,qwhuhvw *urxs $oo wudghpdunv duh wkh surshuwlhv ri wkhlu uhvshfwlyh rzqhuv 68031 
8; 1r olfhqvh lv judqwhg lpsolhg ru rwkhuzlvh xqghu dq\ sdwhqw ru sdwhqw uljkwv ri 9,$ 7hfkqrorjlhv 9,$ 7hfkqrorjlhv pdnhv qr zduudqwlhv lpsolhg ru rwkhuzlvh lq uhjdug wr wklv grfxphqw dqg wr wkh surgxfwv ghvfulehg lq wklv grfxphqw 7kh lqirupdwlrq surylghg e\ wklv grfxphqw lv eholhyhg wr eh dffxudwh dqg uholdeoh wr wkh sxeolfdwlrq gdwh ri wklv grfxphqw +rzhyhu 9,$ 7hfkqrorjlhv dvvxphv qr uhvsrqvlelolw\ iru dq\ huuruv lq wklv grfxphqw )xuwkhupruh 9,$ 7hfkqrorjlhv dvvxphv qr uhvsrqvlelolw\ iru wkh xvh ru plvxvh ri wkh lqirupdwlrq lq wklv grfxphqw dqg iru dq\ sdwhqw lqiulqjhphqwv wkdw pd\ dulvh iurp wkh xvh ri wklv grfxphqw 7kh lqirupdwlrq dqg surgxfw vshflilfdwlrqv zlwklq wklv grfxphqw duh vxemhfw wr fkdqjh dw dq\ wlph zlwkrxw qrwlfh dqg zlwkrxw reoljdwlrq wr qrwli\ dq\ shuvrq ri vxfk fkdqjh <<86; 86$ 2iilfh 7dlshl 2iilfh  0lvvlrq &rxuw  wk )orru 1r  )uhprqw &$  &kxqj&khqj 5rdg +vlq7lhq 86$ 7dlshl 7dlzdq 52& 7ho   7ho   )d[   )d[   202 586; +rph 3djh http://www.via.com.tw ru http://www.viatech.com )73 6huyhu ftp.via.com.tw %%6 
VT8231 preliminary revision 0.8 october 29, 1999 -i- revision history 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw r evision h istory document release date revision initials revision 0.4 9/17/99 initial release based on 82c686a ?super south? data sheet revision 1.42 updated feature bullets, document title, and block diagram replaced pinout diagram with blank bga352 template added lan, lpc, and eeprom pin descriptions, removed signals as req?d updated functions 5 and 6 per engineering input dh revision 0.5 9/27/99 added preliminary ballout & mechanical spec dh revision 0.6 10/1/99 updated pin descriptions and pin lists dh revision 0.7 10/15/99 updated pinouts to conform to engineering pinout revision 0.4 dated 10/6/99 dh revision 0.8 10/29/99 updated feature bullets and performed partial edit of overview text updated pinouts per engineering pinout rev 0.6 / pinlist rev 0.2 dated 10/20/99 updated electrical specs and added ?output drive? and ?input voltage? tables dh
VT8231 preliminary revision 0.8 october 29, 1999 - ii- table of contents 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw t able of c ontents revision history............................................................................................................... .........................................................i table of contents.............................................................................................................. .................................................... ii list of figures................................................................................................................ ..........................................................iv list of tables ................................................................................................................. ..........................................................iv overview ....................................................................................................................... ................................................................ 5 pinouts ........................................................................................................................ .................................................................... 7 p in d iagram ............................................................................................................................... .................................................. 7 p in l ists ............................................................................................................................... ......................................................... 8 p in d escriptions ............................................................................................................................... ........................................ 10 registers ...................................................................................................................... ............................................................... 29 r egister o verview ............................................................................................................................... .................................. 29 r egister d escriptions ............................................................................................................................... ............................. 41 legacy i/o ports ............................................................................................................... .................................................... 41 keyboard controller registers.................................................................................................. ............................................................ 42 dma controller i/o registers ................................................................................................... ........................................................... 44 interrupt controller registers ................................................................................................. .............................................................. 45 timer / counter registers ...................................................................................................... ............................................................... 45 cmos / rtc registers........................................................................................................... .............................................................. 46 super-i/o configuration index / data registers ................................................................................. .............................. 47 super-i/o configuration registers .............................................................................................. ....................................... 47 super-i/o i/o ports ............................................................................................................ .................................................. 50 floppy disk controller registers............................................................................................... ........................................................... 50 parallel port registers........................................................................................................ ................................................................... 51 serial port 1 registers........................................................................................................ ................................................................... 52 serial port 2 registers........................................................................................................ ................................................................... 53 soundblaster pro port registers................................................................................................ ......................................... 54 fm registers ................................................................................................................... ...................................................................... 54 mixer registers ................................................................................................................ ..................................................................... 54 sound processor registers ...................................................................................................... .............................................................. 54 game port registers ............................................................................................................ ................................................. 55 pci configuration space i/o.................................................................................................... ........................................... 56 function 0 registers - pci to isa bridge....................................................................................... .................................... 57 pci configuration space header ................................................................................................. ......................................................... 57 isa bus control................................................................................................................ .................................................................... 57 plug and play control .......................................................................................................... ................................................................. 61 distributed dma / serial irq control ........................................................................................... ...................................................... 63 miscellaneous / general purpose i/o............................................................................................ ........................................................ 64 function 1 registers - enhanced ide controller ................................................................................. ............................. 69 pci configuration space header ................................................................................................. ......................................................... 69 ide-controller-specific confiiguration registers ............................................................................... ................................................. 71 ide i/o registers.............................................................................................................. .................................................................... 76 function 2 registers - usb controller ports 0-1 ................................................................................ ............................... 77 pci configuration space header ................................................................................................. ......................................................... 77 usb-specific configuration registers........................................................................................... ....................................................... 78 usb i/o registers.............................................................................................................. ................................................................... 79 function 3 registers - usb controller ports 2-3 ................................................................................ ............................... 80 pci configuration space header ................................................................................................. ......................................................... 80 usb-specific configuration registers........................................................................................... ....................................................... 81 usb i/o registers.............................................................................................................. ................................................................... 82
VT8231 preliminary revision 0.8 october 29, 1999 - iii- table of contents 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw function 4 regs - power management, smbus and hwm.............................................................................. ................ 83 pci configuration space header ................................................................................................. ......................................................... 83 power management-specific pci configuration registers .......................................................................... ........................................ 84 hardware-monitor-specific configuration registers .............................................................................. ............................................. 91 system management bus-specific configuration registers ......................................................................... ........................................ 91 power management i/o-space registers ........................................................................................... ................................................... 92 system management bus i/o-space registers...................................................................................... .............................................. 101 hardware monitor i/o space registers ........................................................................................... ................................................... 104 function 5 & 6 registers - ac97 audio & modem codecs ........................................................................... ................. 108 pci configuration space header ? function 5 audio .............................................................................................................. .......... 108 pci configuration space header ? function 6 modem.............................................................................................................. ........ 109 function 5 & 6 codec-specific configuration registers .......................................................................... .......................................... 110 function 5 i/o base 0 regs ? dxsn scatter/gather dma....................................................................................................... .......... 112 function 5 i/o base 1 registers ? audio fm nmi status............................................................................................................ ....... 117 function 5 i/o base 2 registers ? midi / game port............................................................................................................... ........... 117 function 6 i/o base 0 regs ? modem scatter/gather dma ....................................................................................................... ........ 118 functional descriptions ........................................................................................................ ........................................ 120 p ower m anagement ............................................................................................................................... ............................... 120 power management subsystem overview ............................................................................................ .............................................. 120 processor bus states ........................................................................................................... ................................................................ 120 system suspend states and power plane control .................................................................................. ............................................. 121 general purpose i/o ports...................................................................................................... ............................................................. 121 power management events ........................................................................................................ ......................................................... 122 system and processor resume events ............................................................................................. ................................................... 122 legacy power management timers ................................................................................................. ................................................... 123 system primary and secondary events ............................................................................................ ................................................... 123 peripheral events .............................................................................................................. .................................................................. 123 electrical specifications...................................................................................................... ....................................... 124 a bsolute m aximum r atings ............................................................................................................................... ................ 124 dc c haracteristics ............................................................................................................................... ............................... 124 o utput d rive ............................................................................................................................... ........................................... 125 i nput v oltage ............................................................................................................................... ......................................... 125 package mechanical specifications .............................................................................................. ........................ 126
VT8231 preliminary revision 0.8 october 29, 1999 -iv- table of contents 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw l ist of f igures figure 1. pc system configuration using the VT8231............................................................................ ............. 6 figure 2. VT8231 ball diagram (top view) ...................................................................................... ............................ 7 figure 3. VT8231 pin list (numerical order) ................................................................................... .......................... 8 figure 4. VT8231 pin list (alphabetical order) ................................................................................ ...................... 9 figure 5. strap option circuit................................................................................................ ....................................... 62 figure 6. power management subsystem block diagram ......................................................................... 120 figure 8. mechanical specifications ? 376 pin ball grid array package......................................... 126 l ist of t ables table 1. pin descriptions..................................................................................................... .............................................. 10 table 2. system i/o map ....................................................................................................... ................................................ 29 table 3. registers............................................................................................................ ...................................................... 30 table 4. keyboard controller command codes .................................................................................... .......... 43 table 5. cmos register summary................................................................................................ ................................. 46
VT8231 preliminary revision 0.8 october 29, 1999 -1- features 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw VT8231 s outh b ridge pc99 c ompliant i ntegrated s uper -i/o (fdc, lpt, c om , and fir), i ntegrated f ast e thernet , lpc, isa / lpc bios rom, i ntegrated s oundblaster p ro / m ulti c hannel d irect s ound ac97 a udio and mc97 m odem i nterface , u ltra dma-33/66/100 m aster m ode eide c ontroller , 4 p ort usb c ontroller , k eyboard c ontroller , rtc, s erial irq, smb us , s erial eeprom, p lug and p lay , acpi, e nhanced p ower m anagement , t emperature , v oltage , and f an -s peed m onitoring ? inter-operable with via and other host-to-pci bridges ? combine with vt82c598 for a complete super-7 (66 / 75 / 83 / 100mhz) agp 2x system (apollo mvp3) ? combine with vt8501 for a complete super-7 system with integrated 2d / 3d graphics (apollo mvp4) ? combine with vt82c694x for a complete 66 / 100 / 133 mhz socket370 / slot1 agp 4x system (apollo pro133a) ? combine with vt8601 for a complete 66 / 100 / 133 mhz socket370 / slot1 system with integrated 2d / 3d graphics (apollo promedia) ? inter-operable with intel or other host-to-pci bridges for a complete pc99 compliant pci / agp / lpc system ? integrated peripheral controllers ? integrated fast ethernet controller with 1 / 10 / 100 mbit capability ? integrated usb controller with two root hub and four function ports ? dual channel ultradma-33 / 66 /100 master mode eide controller ? ac-link interface for ac-97 audio codec and modem codec ? hsp modem support ? interface for optional external modem dsp ? integrated soundblasterpro / directsound compatible digital audio controller ? lpc interface for low pin count interface to super-i/o or rom ? integrated legacy functions ? integrated keyboard controller with ps2 mouse support ? integrated ds12885-style real time clock with extended 256 byte cmos ram and day/month alarm for acpi ? integrated bus controller including dma, timer, and interrupt controller ? serial irq for docking and non-docking applications ? flash eprom, 32mbit (4mbyte) eprom and combined bios support ? fast reset and gate a20 operation
VT8231 preliminary revision 0.8 october 29, 1999 -2- features 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw ? fast ethernet controller ? high performance pci master interface with scatter / gather and bursting capability ? standard mii interface to phyceiver ? 1 / 10 / 100 mhz full and half duplex operation ? transmit data buffer byte alignment for low cpu utilization ? separate 2k byte fifos for receive and transmit of full ethernet packets ? flexible dynamically loadable eeprom algorithm ? physical, broadcast, and multicast address filtering using hashing function ? flexible wakeup events: link status change, magic packet, unicast physical address match, predefined pattern match ? software controllable power down ? ultradma-33 / 66 / 100 master mode pci eide controller ? dual channel master mode pci supporting four enhanced ide devices ? transfer rate up to 100mb/sec to cover up to pio mode 4, multi-word dma mode 2, and ultradma mode 5 ? thirty-two levels (doublewords) of prefetch and write buffers per channel ? dual dma engine for concurrent dual channel operation ? bus master programming interface for sff-8038i rev.1.0 and windows-95 / 98 / 2000 compliant ? full scatter gather capability ? support atapi compliant devices including dvd devices ? support pci native and ata compatibility modes ? complete software driver support ? integrated super io controller ? supports 2 serial ports, ir port, parallel port, and floppy disk controller functions ? two uarts for complete serial ports programmable character lengths (5,6,7,8) even, odd, stick or no parity bit generation and detection programmable baud rate generator high speed baud rate (230kbps, 460kbps) support independent transmit/receiver fifos modem control plug and play with 96 base io address and 12 irq options ? fast ir (fir) port irda 1.0 sir and irda 1.1 fir compliant ir function through the second serial port infrared-irda (hpsir) and ask (amplitude shift keyed) ir ? multi-mode parallel port standard mode, ecp and epp support dynamic and static switch between parallel port pinout and fdc pinout plug and play with 192 base io address, 12 irq and 4 dma options ? floppy disk controller 16 bytes of fifo data rates up to 1mbps perpendicular recording driver support two fdds with drive swap support plug and play with 48 base io address, 12 irq and 4 dma options
VT8231 preliminary revision 0.8 october 29, 1999 -3- features 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw ? soundblaster pro hardware and direct sound ready ac97 digital audio controller ? up to six concurrent ac97 output channels for six-speaker surround sound experience ? multiple direct sound channels between system memory and ac97 link 10 direct sound output channels 4 direct sound input channels 8-channel hardware sample-rate-converter / mixer 1 surround sound channel of up to six data streams ? pci bus master interface with scatter / gather and bursting capability ? 32 byte fifo for each direct sound channel ? host based wave table synthesis ? standard v1.03 or v2.1 ac97 codec interface with up to four ac97 codec ? s from multiple vendors ? loopback capability for re-directing mixed audio streams into usb and 1394 speakers ? hardware soundblaster pro for legacy compatibility ? plug and play with 4 irq, 4 dma, and 4 i/o space options for soundblaster pro and midi hardware ? hardware assisted fm synthesis for legacy compatibility ? direct two game ports and one midi port interface ? complete software driver support for windows-95 / 98 / 2000 and windows-nt ? mc97 hsp modem controller ? pci bus master interface with scatter / gather and burst capability ? standard ac97 codec interface for mc or amc codec ? wake on ring in apm or acpi mode through ac97 link ? supported by most hsp modem vendors ? universal serial bus controller ? usb v.1.1 and intel universal hci v.1.1 compatible ? eighteen level (doublewords) data fifo with full scatter and gather capability ? root hub and four function ports ? integrated physical layer transceivers with optional over-current detection status on usb inputs ? legacy keyboard and ps/2 mouse support ? system management bus interface ? one master / slave smbus and one slave-only smbus ? host interface for processor communications ? slave interface for external smbus masters
VT8231 preliminary revision 0.8 october 29, 1999 -4- features 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw ? voltage, temperature, fan speed monitor and controller ? five universal input channels for voltage or temperature sensing ? two fan-speed monitoring channels ? input channel for thermal diode in intel ? high speed pentium ii ? / pentium iii ? cpus ? programmable control, status, monitor and alarm for flexible desktop management ? external thermister or internal bandgap temperature sensing ? automatic clock throttling with integrated temperature sensing ? internal core vcc voltage sensing ? flexible external voltage sensing arrangement (any positive supply and battery) ? sophisticated pc99-compatible mobile power management ? supports both acpi (advanced configuration and power interface) and legacy (apm) power management ? acpi v1.0 compliant ? apm v1.2 compliant ? cpu clock throttling and clock stop control for complete acpi c0 to c3 state support ? pci bus clock run, power management enable (pme) control, and pci/cpu clock generator stop control ? supports multiple system suspend types: power-on suspends with flexible cpu/pci bus reset options, suspend to dram, and suspend to disk (soft-off), all with hardware automatic wake-up ? multiple suspend power plane controls and suspend status indicators ? one idle timer, one peripheral timer and one general purpose timer, plus 24/32-bit acpi compliant timer ? normal, doze, sleep, suspend and conserve modes ? global and local device power control ? system event monitoring with two event classes ? primary and secondary interrupt differentiation for individual channels ? dedicated input pins for power and sleep buttons, external modem ring indicator, and notebook lid open/close for system wake-up ? multiple internal and external smi sources for flexible power management models ? one programmable chip select and one microcontroller chip select ? enhanced integrated real time clock (rtc) with date alarm, month alarm, and century field ? thermal alarm on either external or any combination of three internal temperature sensing circuits ? hot docking support ? i/o pad leakage control ? plug and play controller ? pci interrupts steerable to any interrupt channel ? steerable interrupts for integrated peripheral controllers: usb, floppy, serial, parallel, audio, soundblaster, midi ? steerable dma channels for integrated floppy, parallel, and soundblaster pro controllers ? one additional steerable interrupt channel for on-board plug and play devices ? microsoft windows 2000 tm , windows 98se tm , windows 98 tm , windows nt tm , windows 95 tm and plug and play bios compliant ? built-in nand-tree pin scan test capability ? 0.30um, 3.3v, low power cmos process ? single chip 27x27 mm, 376 pin bga
VT8231 preliminary revision 0.8 october 29, 1999 -5- overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw o verview the VT8231 south bridge is a high integration, high performance, power-efficient, and high compatibility device that supports intel, amd, and via / cyrix based processor to pci bus bridge functionality to make a complete microsoft pc99-compliant pci / lpc system. the VT8231 includes standard intelligent peripheral controllers: a) master mode enhanced ide controller with dual channel dma engine and interlaced dual channel commands. dedicated fifo coupled with scatter and gather master mode operation allows high performance transfers between pci and ide devices. in addition to standard pio and dma mode operation, the VT8231 also supports the ultradma-33, 66, and 100 standards to allow reliable data transfer rates up to 100 mb/sec thro ughput. the ide controller is sff- 8038i v1.0 and microsoft windows-family compliant. b) integrated lan fast ethernet controller (mac) with media independent interface (mii) to external phy. the lan controller operates at 1 / 10 / 100 mbit/sec transfer rates using either full and half duplex operation and has separate 2kbyte fifos for receive and transmit of full ethernet packets. the internal high-performance pci interface has scatter / gather and bursting capability and can align bytes in the transmit data buffer to reduce cpu utilization. the lan interface can perform address filtering on physical, broadcast, and multicast packets. the interface can also be configured for system wake up on link status change, receipt of magic packet, unicast physical address match on incoming packets, and predefined pattern match in the incoming data. c) lpc (low pin count) interface for bios rom plus optional conventional bios rom support d) universal serial bus controller that is usb v1.1 and universal hci v1.1 compliant. the VT8231 includes the root hub with four function ports with integrated physical layer transceivers. the usb controller allows hot plug and play and isochronous peripherals to be inserted into the system with universal driver support. the controller also implements legacy keyboard and mouse support so that legacy software can run transparently in a non-usb-aware operating system environment. e) keyboard controller with ps2 mouse support f) real time clock with 256 byte extended cmos. in addition to standard rtc functionality, the integrated rtc also includes the date alarm, century field, and other enhancements for compatibility with the acpi standard. g) notebook-class power management functionality compliant with acpi and legacy apm requirements. multiple sleep states (power-on suspend, suspend-to-dram, and suspend-to-disk) are supported with hardware automatic wake-up. additional functionality includes event monitoring, cpu clock throttling and stop (intel processor protocol), pci bus clock stop control, modular power, clock and leakage control, hardware-based and software-based event handling, general purpose i/o, chip select and external smi. h) hardware monitoring subsystem for managing system / motherboard voltage levels, temperatures, and fan speeds i) full system management bus (smbus) interface with one master / slave port and one slave-only port j) 16550-compatible serial i/o port with ? fast-ir ? infrared communications port option. k) integrated pci-mastering dual full-duplex direct-sound ac97-link-compatible sound system. hardware soundblaster-pro and hardware-assisted fm blocks are included for windows dos box and real-mode dos compatibility. loopback capability is also implemented for directing mixed audio streams into usb and 1394 speakers for high quality digital audio. l) game port and midi port m) standard floppy disk drive interface n) ecp/epp-capable parallel port with floppy disk controller pinout option o) serial irq for docking and non-docking applications p) plug and play controller that allows complete steerability of all pci interrupts and internal interrupts to any interrupt cha nnel. one additional steerable interrupt channel is provided to allow plug and play and reconfigurability of on-board peripherals for windows family compliance.
VT8231 preliminary revision 0.8 october 29, 1999 -6- overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw cpu / cache ca pci md ma/command cd north bridge 376 bga VT8231 system memory sideband signals: init / cpureset irq / nmi smi / stopclk ferr / ignne slp# (slot-1) usb ports 0-3 serial ports 1 and 2 lpc rtc crystal boot rom expansion cards infrared comm port ide primary and secondary floppy disk interface ac97 link hardware monitor inputs keyboard / mouse smb dimm module id onboard lpc i/o gpio, power control, reset midi / game ports parallel port fast ethernet interface figure 1. pc system configuration using the VT8231
VT8231 preliminary revision 0.8 october 29, 1999 -7- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw p inouts pin diagram figure 2. VT8231 ball diagram (top view) ke y 1234567891011121314151617181920 a ad 30 ad 31 ad 26 ad 24 ad 21 ad 16 dev sel# cbe 1# ad 9 ad 5 str# pd 2 pd 6 busy rts# dtr# usb oc0# usb p2- usb p1- usb p0- b pint b# pint a# ad 28 ad 25 ad 23 ad 18 t rdy# ad 15 ad 10 ad 4 ad 1 p init# pd 5 ack# txd cts# usb p3- usb p2+ usb p1+ usb p0+ c preq h# pint d# pint c# ad 27 cbe 3# ad 19 i rdy# par ad 12 ad 6 ad 0 pd 1 pd 4 pd 7 usb clk ri# usb p3+ ee cs# ee di ee do d pgnt l# preq l# pgnt h# ad 29 ad 20 cbe 2# stop # ad 14 ad 7 ad 2 pd 0 slct in# pe dsr# gnd usb usb oc1# md ck md io mrx d3 mrx d2 e rtc x2 rtc x1 pwr gd pci rst# ad 22 ad 17 serr # ad 13 ad 8 ad 3 auto fd# pd 3 slct rxd vcc usb ee ck mrx clk mrx d1 mrx d0 mrx dv f jb b1 v bat intr udr# gpi 0 rsm rst# frm# vcc ad 11 vcc cbe 0# err# vcc vcc dcd# vcc vcc mii mtx clk mrx err mtx ena mtx d0 g ac sync ac rst ja b1 msi i2s ja x vcc gnd vcc vcc vcc gnd vcc gnd ram gnd vcc ram m crs m col mtx d1 mtx d2 mtx d3 h ac sdin0 ac sdin1 ac sdo jb b2 ja y vcc h7 8 9 10 11 12 13 h14 gnd trk 00# wrt prt# dsk chg# hd sel# r data# j pcs1# sdin2 gpio c ac bclk mso spdif jb y vcc j gnd gnd gnd gnd gnd gnd j vcc mtr 1# ds 0# step# w data# w gate# k vref fan 1 fan2 slpb# ja b2 jb x gnd k gnd gnd gnd gnd gnd gnd k vcc vcc mii drv den1 mtr 0# ds 1# dir# l uic 5 dtd + dtd - uic 4 gnd hwm vcc l gnd gnd gnd gnd gnd gnd l gnd vcc pll drv den0 pdcs 1# pdcs 3# in dex# m uic 1 uic 3 uic 2 kb ck vcc hwm vcc m gnd gnd gnd gnd gnd gnd m vcc gnd pll pci clk pd a1 pd a0 pd a2 n kb dt ms ck sus c# ms dt sus st# vcc n7 8 9 10 11 12 13 n14 gnd pd d10 pd d5 pd ior# pd rdy pd dack# p susa #/strap sus b# aol gpi sus clk vcc sus vcc sus gnd vcc vcc gnd vcc vcc vcc gnd vcc pd d4 pd d11 pd d8 pd drq pd iow# r smb ck2 smb dt2 smb ck1 gpo 0 cpu miss intr vcc ir tx vcc vcc sd 6 sd 0 vcc vcc vcc pd d1 pd d14 pd d7 pd d9 pd d6 t smb dt1 smb alrt# bat low# ext smi# nmi ign ne# io w# ir rx2 rom cs# sd11 hg2# sd 7 osc sa17 /strap irq 14 sa8 sdd8 pd d0 pd d15 pd d13 pd d3 pd d12 u pme# pwr btn# ring # cpu rst ferr # slp# io r# ir rx spkr sd12 lr1# sd 5 sd 4 sa 18 irq 15 sa7 sdd7 sa6 sdd6 sd drq sdcs 1# sdcs 3# pd d2 v pck run# gpio a gpi 1 wsc# arq# init stp clk# l ad3 l ad0 ser irq sd15 lg2# sd10 hr2# sd 1 sa 19 sa5 sdd5 sa11 sdd11 sa2 sdd2 sa14 sdd14 sd a1 sd a0 sd a2 w pci stp# cpu stp# gpio e apic d0 a20 m# mccs #/strap l ad2 l frm# mem r# sd14 lr2# sd9 hg1# sd 2 la 20 sa9 sdd9 sa4 sdd4 sa12 sdd12 sa1 sdd1 sa15 sdd15 sd ior# sd dack# y gpio d lid apic clk apic d1 smi# pcs0# /strap l ad1 l drq# mem w# sd13 lg1# sd8 hr1# sd 3 la 21 sa16 /strap sa10 sdd10 sa3 sdd3 sa13 sdd13 sa0 sdd0 sd iow# sd rdy 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 note: some of the pins above have alternate functions and alternate names. the table above contains only one name (usually th e most often used function), but the pin lists and pin descriptions contain all names.
VT8231 preliminary revision 0.8 october 29, 1999 -8- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw pin lists figure 3. VT8231 pin list (numerical order) pin pin name pin pin name pin pin name pin pin name pin pin name a01 io ad30 d12 io slctin#/step# h03 o acsdout p02 o susb# / gpio2 u13 io sa18 a02 io ad31 d13 i pe / wdata# h04 i jbb2 / gamed7 p03 i aolgpi/thrm/i17 u14 i ir q 15 a03 io ad26 d14 i dsr# h05 i jay / gamed1 p04 o susclk / gpo4 u15 io sa07 / sdd07 a04 io ad24 d15 p gndusb h06 p vcc p05 p vccsus u16 io sa06 / sdd06 a05 io ad21 d16 i usboc1# h15 p gnd p06 p vccsus u17 i sddr q a06 io ad16 d17 o mdck h16 i trk00# p07 p gnd u18 o sdcs1# a07 iodevsel# d18 iomdio h17 i wrtprt# p08 p vcc u19 o sdcs3# a08 io cbe1# d19 i mrxd3 h18 i dskchg# p09 p vcc u20 io pdd02 a09 io ad09 d20 i mrxd2 h19 od hdsel# p10 p gnd v01 io pckrun# a10 io ad05 e01 o rtcx2 h20 i rdata# p11 p vcc v02 io gpioa / gpio24 a11 io strobe# e02 i rtcx1 j01 o pcs1# / sdi2 / io p12 p vcc v03 i gpi1 / irq8# a12 io pd2 / wrtprt# e03 i pwrgd j02 io gpioc/io25/atst p13 p vcc v04 i wsc#/ar q #/i24 a13 io pd6 e04 o pcirst# j03 i acbitclk p14 p gnd v05 od init a14 i busy / mtr1# e05 io ad22 j04 o mso / spdif p15 p vcc v06 od stpclk# a15 o rts# e06 io ad17 j05 i jby / gamed3 p16 io pdd04 v07 io lad3 a16 o dtr# e07 i serr# j 06 p vcc p17 io pdd11 v08 io lad0 a17 i usboc0# e08 io ad13 j 15 p vcc p18 io pdd08 v09 i serir q # a18 io usbp2- e09 io ad08 j16 od mtr1# p19 i pddr q v10 o lgt2#/sd15/o11 a19 io usbp1- e10 io ad03 j17 od ds0# p20 o pdiow# v11 i hr q 2#/sd10/i11 a20 io usbp0 - e11 io autofd#/drv0 j18 od step# r01 io smbck2 / gpio27 v12 io sd01 b01 i pintb# e12 io pd3 / rdata# j19 od wdata# r02 io smbdt2 / gpio26 v13 io sa19 b02 i pinta# e13 i slct/wgate# j20 od wgate# r03 io smbck1 v14 io sa05 / sdd05 b03 io ad28 e14 i rxd k01 p vref r04 o slowclk / o0 v15 io sa11 / sdd11 b04 io ad25 e15 p vccusb k02 i fan1 r05 i cpumiss / gpi16 v16 io sa02 / sdd02 b05 io ad23 e16 o eeck k03 i fan2/slpb#/io18 r06 od intr v17 io sa14 / sdd14 b06 io ad18 e17 i mrxclk / air q k04 i jab2 / gamed5 r07 p vcc v18 o sda1 b07 io trdy# e18 i mrxd1 k05 i jbx / gamed2 r08 o irtx / gpo14 v19 o sda0 b08 io ad15 e19 i mrxd0 / air q k06 p gnd r09 p vcc v20 o sda2 b09 io ad10 e20 i mrxdv / airq k15 p vcc r10 p vcc w01 o pcistp# / gpo6 b10 io ad04 f01 i jbb1 / gamed6 k16 p vccmii r11 io sd06 w02 o cpustp# / gpo5 b11 io ad01 f02 p vbat k17 od drvden1 r12 io sd00 w03 io gpioe / gpio31 b12 io pinit# / dir# f03 i intruder#/gpi8 k18 od mtr0# r13 p vcc w04 o apd0/acs#/io28 b13 io pd5 f04 i gpi0 k19 od ds1# r14 p vcc w05 od a20m# b14 i ack# / ds1# f05 i rsmrst# k20 od dir# r15 p vcc w06 o mccs#/o17/stra p b15 o txd f06 io frame# l01 ai uic5 r16 io pdd01 w07 io lad2 b16 i cts# f07 p vcc l02 ai dtd+ r17 io pdd14 w08 o lframe# b17 io usbp3- f08 io ad11 l03 ai dtd- r18 io pdd07 w09 io memr# b18 io usbp2+ f09 p vcc l04 ai uic4 r19 io pdd09 w10 i lr q 2#/sd14/i13 b19 io usbp1+ f10 io cbe0# l05 p gndhwm r20 io pdd06 w11 o hgt1#/sd09/o8 b20 io usbp0+ f11 i error#/hdsel# l06 p vcc t01 io smbdt1 w12 io sd02 c01 o preqh# f12 p vcc l15 p gnd t02 i smbalrt# / gpi7 w13 io la20/oc2#/o20 c02 i pintd# f13 p vcc l16 p vccpll t03 i batlow# / gpi5 w14 io sa09 / sdd09 c03 i pintc# f14 i dcd# l17 od drvden0 t04 iod extsmi# / gpi2 w15 io sa04 / sdd04 c04 io ad27 f15 p vcc l18 o pdcs1# t05 od nmi w16 io sa12 / sdd12 c05 io cbe3# f16 i mtxclk / air q l19 o pdcs3# t06 od ignne# w17 io sa01 / sdd01 c06 io ad19 f16 p vccmii l20 i index# t07 io iow# / gpo23 w18 io sa15 / sdd15 c07 io irdy# f18 i mrxerr / airq m01 ai uic1 t08 i irrx2 / gpi w19 o sdior# c08 io par f19 o mtxena / air q m02 ai uic3 t09 o romcs#/kbcs# w20 o sddack# c09 io ad12 f20 o mtxd0 / airq m03 ai uic2 t10 o hgnt2#/sd11/o9 y01 io iod/30/sco#/dt c10 io ad06 g01 o acsync m04 io kbck / a20g t11 io sd07 y02 i lid / gpi4 c11 io ad00 g02 o acrst m05 p vcchwm t12 i osc y03 i apicclk / gpi9 c12 io pd1 / trk00# g03 i jab1 / gamed4 m06 p vcc t13 io sa17 / stra p y04 o apd1/ak#/io29 c13 io pd4 / dskchg# g04 i msi / i2s m15 p vcc t14 i ir q 14 y05 od smi# c14 io pd7 g05 i jax / gamed0 m16 p gndpll t15 io sa08 / sdd08 y06 o pcs0#/o16/stra p c15 i usbclk g06 p vcc m17 i pciclk t16 io pdd00 y07 io lad1 c16 i ri# g07 p gnd m18 o pda1 t17 io pdd15 y08 i ldr q #/sin3/i15 c17 io usbp3+ g08 p vcc m19 o pda0 t18 io pdd13 y09 io memw# c18 o eecs# g09 p vcc m20 o pda2 t19 io pdd03 y10 o lg1#/ sd13/o10 c19 i eedi g10 p vcc n01 io kbdt / kbrc t20 io pdd12 y11 i hrq1#/sd08/i10 c20 o eedo g11 p gnd n02 io msck / irq1 u01 i pme# / gpi6 y12 io sd03 d01 i pgntl# g12 p vcc n03 o susc# / gpo u02 i pwrbtn# y13 io la21/oc3#/o21 d02 o pre q l# g13 p gndram n04 io msdt / ir q 12 u03 i ring# / gpi3 y14 io sa16 / stra p d03 i pgnth# g14 p gnd n05 o susst1# / gpo3 u04 od cpurst y15 io sa10 / sdd10 d04 io ad29 g15 p vccram n06 p vcc u05 i ferr# y16 io sa03 / sdd03 d05 io ad20 g16 i mcrs / air q n15 p gnd u06 od slp# / gpo7 y17 io sa13 / sdd13 d06 io cbe2# g17 i mcol / air q n16 io pdd10 u07 io ior# / gpo22 y18 io sa00 / sdd00 d07 io stop# g18 o mtxd1 / air q n17 io pdd05 u08 i irrx / gpo15 y19 o sdiow# d08 io ad14 g19 o mtxd2 / air q n18 o pdior# u09 o spkr y20 i sdrdy d09 io ad07 g20 o mtxd3 / airq n19 i pdrdy u10 i lreq1#/sd12/i12 d10 io ad02 h01 i acsdin0 n20 o pddack# u11 io sd05 d11 io pd0 / index# h02 i acsdin1 p01 o susa#/gpo1/strap u12 io sd04 center gnd pins (24 pins): j8-j13, k8-k13, l8-l13, m8-m13
VT8231 preliminary revision 0.8 october 29, 1999 -9- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw figure 4. VT8231 pin list (alphabetical order) pinpin name pinpin name pinpin name pinpin name pinpin name w05 od a20m# f11 i error#/hdsel# d18 io mdio c03 i pintc# p01 o susa# / gpo1 j03 i acbitclk t04 iod extsmi# / gpi2 w09 io memr# c02 i pintd# p02 o susb# / gpo2 b14 i ack# / ds1# k02 i fan1 y09 io memw# u01 i pme# / gpi6 n03 o susc# g02 o acrst k03 i fan2/slpb#/io18 e17 i mrxclk / air q c01 o pre q h# p04 o susclk h01 i acsdin0 u05 i ferr# e19 i mrxd0 / air q d02 o pre q l# n05 o susst1# / gpo3 h 0 2ia cs di n 1f 06 i o frame# e1 8 i mrxd1 u0 2ip w rbt n #b 07 i o trdy# h03 o acsdout g0 7p gn d d20 i mrxd2 e03 i pwrgd h16 i trk00# g01 o acsync g 11 p gn d d19 i mrxd3 h20 i rdata# b15 o txd c 11 i o ad 00 g14 p gnd e2 0 imrxd v / air q c 1 6 iri# m 0 1i u i c 1 b11 io ad01 h15 p gnd f18 i mrxerr/air q u03 i ring# / gpi3 m03 i uic2 d10 io ad02 k 06 p gn d n02 io msck / ir q 1 t09 o romcs#/kbcs# m02 i uic3 e10 io ad03 l15 p gnd n04 io msdt / ir q 12 f05 i rsmrst# l04 i uic4 b10 io ad04 n 1 5 p gn d g04 i msi / i2s e02 i rtcx1 l01 i uic5 a1 0 i o ad 05 p07 p gnd j0 4 o m so / s pdif e 0 1 o rt c x2 c 1 5 i us b c lk c10 io ad06 p1 0 p gn d k18 od mtr0# a15 o rts# a17 i usboc0# d09 io ad07 p14 p gnd j16 od mtr1# e14 i rxd d16 i usboc1# e09 io ad08 l 05 p gn dh w m f16 i mtxclk/air q y18 io sa00 / sdd00 a20 io usbp0- a09 io ad09 m1 6 p gn dpll f20 o mtxd0/air q w17 io sa01 / sdd01 b20 io usbp0+ b09 io ad10 g 1 3 p gn dram g18 o mtxd1/air q v16 io sa02 / sdd02 a19 io usbp1- f08 io ad11 d1 5 p gn d us b g19 o mtxd2/air q y16 io sa03 / sdd03 b19 io usbp1+ c09 io ad12 f04 i gpi0 g20 o mtxd3/air q w15 io sa04 / sdd04 a18 io usbp2- e08 io ad13 v03 i gpi1 / ir q 8# f19 o mtxena/air q v14 io sa05 / sdd05 b18 io usbp2+ d08 io ad14 v02 io gpioa/24 t05 od nmi u16 io sa06 / sdd06 b17 io usbp3- b08 io ad15 j02 io gpioc/25/atst t12 i osc u15 io sa07 / sdd07 c17 io usbp3+ a06 io ad16 y01 io gpiod/30/sciou# c08 io par t15 io sa08 / sdd08 f 0 2p v bat e06 io ad17 w03 io gpioe v01 io pckrun# w14 io sa09 / sdd09 f 0 7p vcc b06 io ad18 h19 od hdsel# m17 i pciclk y15 io sa10 / sdd10 f 09 p vcc c06 io ad19 w11 o hgnt1#/sd09/o8 e04 o pcirst# v15 io sa11 / sdd11 f12 p vcc d05 io ad20 t10 o hgnt2#/sd11/o9 w01 o pcistp# / gpo6 w16 io sa12 / sdd12 f13 p vcc a05 io ad21 y11 i hre q 1#/sd08/i10 y06 o pcs0#/o16/stra p y17 io sa13 / sdd13 f1 5 p vcc e05 io ad22 v11 i hre q 2#/sd10/i11 j01 o pcs1#/sin2/io19 v17 io sa14 / sdd14 g06 p vcc b05 io ad23 t06 od ignne# d11 io pd0/index# w18 io sa15 / sdd15 g08 p vcc a04 io ad24 l20 i index# c12 io pd1/trk00# y14 io sa16 / stra p g09 p vcc b04 io ad25 v05 od init a12 io pd2/wrtprt# t13 io sa17 / stra p g 1 0 p vcc a03 io ad26 r06 od intr e12 io pd3/rdata# u13 io sa18 g12 p vcc c04 io ad27 f03 i intruder#/gpi8 c13 io pd4/dskchg# v13 io sa19 h 06 p vcc b03 io ad28 u07 io ior# / gpo22 b13 io pd5 r12 io sd00 j06 p vcc d04 io ad29 t07 io iow# / gpo23 a13 io pd6 v12 io sd01 j 15 p vcc a01 io ad30 c07 io irdy# c14 io pd7 w12 io sd02 k1 5 p vcc a02 io ad31 t14 i ir q 14 m19 o pda0 y12 io sd03 l 06 p vcc p03 i aolgpi/thrm/i17 u14 i ir q 15 m18 o pda1 u12 io sd04 m 06 p vcc y03 o apiclk / gpi9 u08 i irrx / gpo15 m20 o pda2 u11 io sd05 m1 5 p vcc y04 i apicd1/ak#/io29 t08 i irrx2 / gpi l18 o pdcs1# r11 io sd06 n06 p vcc w04 o apicd0/acs#/io28 r08 o irtx / gpo14 l19 o pdcs3# t11 io sd07 p08 p vcc e11 i o a u t o fd# / dr v0 g03 i j ab1 / g amed4 t1 6 i o pdd 00 v 1 9 o s da 0 p09 p vcc t03 i batlow# / gpi5 k04 i jab2 / gamed5 r16 io pdd01 v18 o sda1 p11 p vcc a14 i busy / mtr1# g05 i jax / gamed0 u20 io pdd02 v20 o sda2 p12 p vcc f1 0 i o c be 0 #h 05 i j ay / g amed1 t1 9 i o pdd 03 u 1 8 o s d cs 1# p13 p vcc a08 io cbe1# f01 i jbb1 / gamed6 p16 io pdd04 u19 o sdcs3# p15 p vcc d06 io cbe2# h04 i jbb2 / gamed7 n17 io pdd05 w20 o sddack# r 0 7p vcc c05 io cbe3# k05 i jbx / gamed2 r20 io pdd06 u17 i sddr q r09 p vcc r 05 i c p u mi ss / g pi1 6 j05 i j by / g amed 3 r1 8 i o pdd 07 w 1 9 o s di o r# r10 p vcc u04 od cpurst m04 io kbck / a20g p18 io pdd08 y19 o sdiow# r1 3 p vcc w02 o cpustp# / gpo5 n01 io kbdt / kbrc r19 io pdd09 y20 i sdrdy r14 p vcc b1 6 i c t s # w 1 3 i o la2 0/oc 2# /o 2 0 n 1 6 i o pdd1 0 v09 i s erir q # r15 p vcc f14 i dcd# y13 io la21/oc3#/o21 p17 io pdd11 e07 i serr# m 05 p vcc h w m a07 io devsel# v08 io lad0 t20 io pdd12 e13 i slct/wgate# f1 6 p vcc mii k20 od dir# y07 io lad1 t18 io pdd13 d12 io slctin#/step# k16 p vccmii l17 od drvden0 w07 io lad2 r17 io pdd14 r04 o slowclk / o0 l1 6 p vcc pll k17 od drvden1 v07 io lad3 t17 io pdd15 u06 od slp# / gpo7 g 1 5 p vcc ram j17 od ds0# y08 i ldr q #/sdin3/i15 n20 o pddack# t02 i smbalrt# / i7 p 05 p vccsus k19 od ds1# w08 o lframe# p19 i pddr q r03 io smbck1 p 06 p vccsus h18 i dskchg# y10 o lgnt1#/sd13/o10 n18 o pdior# r01 io smbck2 / io27 e1 5 p vccus b d14 i dsr# v10 o lgnt2#/sd15/o11 p20 o pdiow# t01 io smbdt1 k 0 1p v ref l02 ai dtd+ y02 i lid / gpi4 n19 i pdrdy r02 io smbdt2 / io26 j19 od wdata# l03 ai dtd- u10 i lre q 1#/sd12/i12 d13 i pe / wdata# y05 od smi# j20 od wgate# a16 o dtr# w10 i lre q 2#/sd14/i13 d03 i pgnth# u09 o spkr h17 i wrtprt# e16 o eeck w06 o mccs#/o17/stra p d01 i pgntl# j18 od step# v04 i wsc#/ar q #/i14 c18 o eecs# g17 i mcol / air q b12 io pinit# / dir# d07 io stop# c19 i eedi g16 i mcrs / air q b02 i pinta# v06 od stpclk# c20 o eedo d17 o mdck b01 i pintb# a11 io strobe# center gnd pins (24 pins): j8-j13, k8-k13, l8-l13, m8-m13
VT8231 preliminary revision 0.8 october 29, 1999 -10- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw pin descriptions table 1. pin descriptions pci bus interface signal name pin # i/o signal description ad[31:0] (see pin list) io address/data bus. the standard pci address and data lines. the address is driven with frame# assertion and data is driven or received in following cycles. c/be[3:0]# c5, d6, a8, f10 io command/byte enable. the command is driven with frame# assertion. byte enables corresponding to supplied or requested data are driven on following clocks. frame# f6 io frame. assertion indicates the address phase of a pci transfer. negation indicates that one more data transfer is desired by the cycle initiator. irdy# c7 io initiator ready. asserted when the initiator is ready for data transfer. trdy# b7 io target ready. asserted when the target is ready for data transfer. stop# d7 io stop. asserted by the target to request the master to stop the current transaction. devsel# a7 io device select. the VT8231 asserts this signal to claim pci transactions thro ugh positive or subtractive decoding. as an input, devsel# indicates the response to a VT8231- initiated transaction and is also sampled when decoding whether to subtractively decode the cycle. par c8 io parity. a single parity bit is provided over ad[31:0] and c/be[3:0]#. serr# e7 i system error. serr# can be pulsed active by any pci device that detects a system error condition. upon sampling serr# active, the VT8231 can be programmed to generate an nmi to the cpu. pinta-d# b2, b1, c3, c2 i pci interrupt request . these pins are typically connected to the pci bus inta#- intd# pins as follows: pinta# pintb# pintc# pintd# pci slot 1 inta# intb# intc# intd# pci slot 2 intb# intc# intd# inta# pci slot 3 intc# intd# inta# intb# pci slot 4 intd# inta# intb# intc# pci slot 5 inta# intb# intc# intd# preqh# c1 o pci request. this signal goes to the north bridge to request the pci bus. pgnth# d3 i pci grant. this signal is driven by the north bridge to grant pci access to the VT8231. preql# d2 o pci request. this signal goes to the north bridge to request the pci bus. pgntl# d1 i pci grant. this signal is driven by the north bridge to grant pci access to the VT8231. pciclk m17 i pci clock. pclk provides timing for all transactions on the pci bus. pckrun# v1 io pci bus clock run. this signal indicates whether the pci clock is or will be stopped (high) or running (low). the vt 8231 drives this signal low when the pci clock is running (default on reset) and releases it when it stops the pci clock. external devices may assert this signal low to request that the pci clock be restarted or prevent it from stopping. connect this pin to ground using a 100 ? resistor if the function is not used. refer to the ? pci mobile design guide ? and the via ? apollo mvp4 design guide ? for more details. pcirst# e4 o pci reset. pcistp# / gpo6 w1 o pci stop. cpustp# / gpo5 w2 o cpu stop.
VT8231 preliminary revision 0.8 october 29, 1999 -11- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw cpu interface signal name pin # i/o signal description cpurst u4 od cpu reset. the VT8231 asserts cpurst to reset the cpu during power-up. intr r6 od cpu interrupt. intr is driven by the VT8231 to signal the cpu that an interrupt request is pending and needs service. nmi t5 od non-maskable interrupt. nmi is used to force a non-maskable interrupt to the cpu. the VT8231 generates an nmi when either serr# or iochk# is asserted. init v5 od initialization. the VT8231 asserts init if it detects a shut-down special cycle on the pci bus or if a soft reset is initiated by the register stpclk# v6 od stop clock. stpclk# is asserted by the VT8231 to the cpu to throttle the processor clock. smi# y5 od system management interrupt. smi# is asserted by the VT8231 to the cpu in response to different power-management events. ferr# u5 i numerical coprocessor error. this signal is tied to the coprocessor error signal on the cpu. internally generates interrupt 13 if active. ignne# t6 od ignore numeric error. this pin is connected to the ? ignore error ? pin on the cpu. slp# / gpo7 u6 od sleep (rx75[7] = 0). used to put the cpu to sleep. used with slot-1 cpus only. not currently used with socket-7 cpus. a20m# w5 od a20 mask. connect to a20 mask input of the cpu to control address bit-20 generation. logical combination of the a20gate input (from internal or external keyboard controller) and port 92 bit-1 (fast_a20). dtd+ l2 analog i cpu dtd (thermal diode) channel plus. connect to cathode of first external temperature sensing diode. dtd- l3 analog i cpu dtd (thermal diode) channel minus. connect to anode of first external temperature sensing diode. note: connect each of the above signals to 4.7k ? pullup resistors to vcc3. strap options signal name pin # i/o signal description strap / susa# p1 i / o cpurst / init polarity h: l: strap / mccs# w6 i / o cpu frequency strapping h: disable l: enable strap / pcs0# y6 i / o sd bus width h: 16-bit l: 8-bit strap / sa16 y14 i / io bio rom interface h: lpc l: conventional strap / sa17 t13 i / io auto reboot h: disable l: enable strap / kbcs# / romcs# t9 i / o / o cpu type 4.7k to gnd = socket-7, 4.7k to vcc3 = socket-370 / slot-1
VT8231 preliminary revision 0.8 october 29, 1999 -12- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw advanced programmable interrupt controller (apic) interface signal name pin # i/o signal description wsc# / apicreq# / gpi14 v4 i / i / i internal apic write snoop complete. asserted by the north bridge to indicate that all snoop activity on the cpu bus initiated by the last pci-to-dram write is complete and that it is safe to perform an apic interrupt. external apic request. asserted by external apic synchronous to pciclk prior to sending an interrupt over the apic serial bus. this signals the VT8231 to flush its internal buffers. apicd0 / apiccs# / gpio28 w4 o / o / io internal apic data 0. external apic chip select. the VT8231 drives this signal active to select an external apic (if used). this occurs if the external apic is enabled and a pci cycle is detected within the programmed apic address range. apicd1 / apicack# / gpio29 y4 o / o / io internal apic data 1. external apic acknowledge. asserted by the VT8231 to indicate that it internal buffers have been flushed (in response to apicreq#). this indicates to the external apic that the VT8231 ? s internal buffers have been flushed and that it is ok for the apic to send its interrupt. apicclk / gpi9 y3 i / i apic clock. sciout# / gpiod / gpio30 / dtest y1 o / io io / o sci out. used to route internally generated sci and smbus interrupts to external apic (if used). defined as sciout# if external apic enabled (function 0 rx74[7] = 1). airq / mcol g17 o apic irq. internal condition for connection to external apic. airq / mcrs g16 o apic irq. internal condition for connection to external apic. airq / mrxclk e17 o apic irq. internal condition for connection to external apic. airq / mrxd0 e19 o apic irq. internal condition for connection to external apic. airq / mrxdv e20 o apic irq. internal condition for connection to external apic. airq / mrxerr f18 o apic irq. internal condition for connection to external apic. airq / mtxclk f16 o apic irq. internal condition for connection to external apic. airq / mtxd0 f20 o apic irq. internal condition for connection to external apic. airq / mtxd1 g18 o apic irq. internal condition for connection to external apic. airq / mtxd2 g19 o apic irq. internal condition for connection to external apic. airq / mtxd3 g20 o apic irq. internal condition for connection to external apic. airq / mtxena f19 o apic irq. internal condition for connection to external apic. serial eeprom interface signal name pin # i/o signal description eecs# c18 o serial eeprom chip select. eeck e16 o serial eeprom clock. eedo c20 o serial eeprom data output. eedi c19 i serial eeprom data input.
VT8231 preliminary revision 0.8 october 29, 1999 -13- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw low pin count (lpc) interface signal name pin # i/o signal description lframe# w8 o lpc frame. ldrq# / acsdin3 / gpi15 y8 i / i / i lpc data request. lad[3-0] v7, w7, y7, v8 io / io lpc address / data. hreq1# / sd8 / gpi10 y11 i / io high priority request 1. hgnt1# / sd9 / gpo8 w11 o / io high priority grant 1. hreq2# / sd10 / gpi11 v11 i / io high priority request 2. hgnt2# / sd11 / gpo9 t10 o / io high priority grant 2. lreq1# / sd12 / gpi12 u10 i / io low priority request 1. lgnt1# / sd13 / gpo10 y10 o / io low priority grant 1. lreq2# / sd14 / gpi13 w10 i / io low priority request 2. lgnt2# / sd15 / gpo11 v10 o / io low priority grant 2. note: connect the lpc interface lpcrst# (lpc reset) signal to pcirst# lan controller - media independent interface (mii) signal name pin # i/o signal description mcol / apicirq g17 i / i mii collision detect. from the external phy. mcrs / apicirq g16 i / i mii carrier sense. asserted by the external phy when the media is active. mdck d17 o mii management data clock. sent to the external phy as a timing reference for mdio mdio d18 io mii management data i/o. read from the mdi bit or written to the mdo bit. mrxclk / apicirq e17 i / i mii receive clock. 2.5 or 25 mhz clock recovered by the phy. mrxd[3] , mrxd[2] , mrxd[1] , mrxd[0] / apicirq d19 d20 e18 e19 i i i i / i mii receive data. parallel receive data lines driven by the external phy synchronous with mrxclk. mrxdv / apicirq e20 i / i mii receive data valid. mrxerr / apicirq f18 i / i mii receive error. asserted by the phy when it detects a data decoding error. mtxclk / apicirq f16 i / i mii transmit clock. always active 2.5 or 25 mhz clock supplied by the phy. mtxd[3] / apicirq, mtxd[2] / apicirq, mtxd[1] / apicirq, mtxd[0] / apicirq g20 g19 g18 f20 o / i o / i o / i o / i mii transmit data. parallel transmit data lines synchronized to mtxclk. mtxena / apicirq f19 o / i mii transmit enable. indicates transmit active from the mii port to the phy.
VT8231 preliminary revision 0.8 october 29, 1999 -14- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw universal serial bus interface signal name pin # i/o signal description usbp0+ b20 io usb port 0 data + usbp0- a20 io usb port 0 data - usbp1+ b19 io usb port 1 data + usbp1- a19 io usb port 1 data - usbp2+ b18 io usb port 2 data + usbp2- a18 io usb port 2 data - usbp3+ c17 io usb port 3 data + usbp3- b17 io usb port 3 data - usbclk c15 i usb clock. 48mhz clock input for the usb interface usboc0# a17 i usb port 0 over current detect. port 0 is disabled if this input is low. usboc1# d16 i usb port 1 over current detect. port 1 is disabled if this input is low usboc2# / la20 / gpo20 w13 i / io / o usb port 2 over current detect. port 2 is disabled if this input is low. usboc3# / la21 / gpo21 y13 i / io / o usb port 3 over current detect. port 3 is disabled if this input is low. system management bus (smb) interface (i 2 c bus) signal name pin # i/o signal description smbck1 r3 io smb / i 2 c channel 1 clock. smbck2 / gpio27 r1 io / io smb / i 2 c channel 2 clock. smbdt1 t1 io smb / i 2 c channel 1 data. smbdt2 / gpio26 r2 io / io smb / i 2 c channel 2 data. smbalrt# / gpi7 t2 i / i smb alert. (system management bus i/o space rx08[3] = 1) when the chip is enabled to allow it, assertion generates an irq or smi interrupt or a power management resume event. the same pin is used as general purpose input 6 whose value is reflected in rx48[6] of function 4 i/o space
VT8231 preliminary revision 0.8 october 29, 1999 -15- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw ultradma-33 / 66 enhanced ide interface signal name pin # i/o signal description pdrdy / pddmardy / pdstrobe n19 i eide mode: primary i/o channel ready. device ready indicator ultradma mode: primary device dma ready . output flow control. the device may assert ddmardy to pause output transfers primary device strobe . input data strobe (both edges). the device may stop dstrobe to pause input data transfers sdrdy / sddmardy / sdstrobe y20 i eide mode: secondary i/o channel ready. device ready indicator ultradma mode: secondary device dma ready . output flow control. the device may assert ddmardy to pause output transfers secondary device strobe . input data strobe (both edges). the device may stop dstrobe to pause input data transfers pdior# / phdmardy / phstrobe n18 o eide mode: primary device i/o read. device read strobe ultradma mode: primary host dma ready . primary channel input flow control . the host may assert hdmardy to pause input transfers primary host strobe . output data strobe (both edges). the host may stop hstrobe to pause output data transfers sdior# / shdmardy / shstrobe w19 o eide mode: secondary device i/o read. device read strobe ultradma mode: secondary host dma ready . input flow control. the host may assert hdmardy to pause input transfers host strobe b . output strobe (both edges). the host may stop hstrobe to pause output data transfers pdiow# / pstop p20 o eide mode: primary device i/o write. device write strobe ultradma mode: primary stop . stop transfer: asserted by the host prior to initiation of an ultradma burst; negated by the host before data is transferred in an ultradma burst. assertion of stop by the host during or after data transfer in ultradma mode signals the termination of the burst. sdiow# / sstop y19 o eide mode: secondary device i/o write. device write strobe ultradma mode: secondary stop . stop transfer: asserted by the host prior to initiation of an ultradma burst; negated by the host before data is transferred in an ultradma burst. assertion of stop by the host during or after data transfer in ultradma mode signals the termination of the burst. pddrq p19 i primary device dma request. primary channel dma request sddrq u17 i secondary device dma request. secondary channel dma request pddack# n20 o primary device dma acknowledge. primary channel dma acknowledge sddack# w20 o secondary device dma acknowledge. secondary channel dma acknowledge irq14 t14 i primary channel interrupt request. irq15 u14 i secondary channel interrupt request.
VT8231 preliminary revision 0.8 october 29, 1999 -16- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw ultradma-33 / 66 enhanced ide interface (continued) signal name pin # i/o signal description pdcs1# l18 o primary master chip select. this signal corresponds to cs1fx# on the primary ide connector. pdcs3# l19 o primary slave chip select. this signal corresponds to cs3fx# on the primary ide connector. sdcs1# u18 o secondary master chip select. this signal corresponds to cs17x# on the secondary ide connector. sdcs3# u19 o secondary slave chip select. this signal corresponds to cs37x# on the secondary ide connector. pda[2-0] m20, m18, m19 o primary disk address. pda[2:0] are used to indicate which byte in either the ata command block or control block is being accessed. sda[2-0] v20, v18, v19 o secondary disk address. sda[2:0] are used to indicate which byte in either the ata command block or control block is being accessed. pdd[15-0] t17, r17, t18, t20, p17, n16, r19, p18, r18, r20, n17, p16, t19, u20, r16, t16 io primary disk data sdd[15-0] / sa[15-0] w18, v17, y17, w16, v15, y15, w14, t15, u15, u16, v14, w15, y16, v16, w17, y18 io secondary disk data (spkr strap 4.7k ohms low) or isa address (spkr strap 4.7k ohms high)
VT8231 preliminary revision 0.8 october 29, 1999 -17- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw midi interface signal name pin # i/o signal description msi / i2s g4 i / i midi serial in mso / spdif j4 o / o midi serial out serial digital audio interface signal name pin # i/o signal description i2s / msi g4 i / i serial digital audio in. spdif / mso j4 o / o serial digital audio out. ac97 audio / modem interface signal name pin # i/o signal description acrst g2 o ac97 reset acsync g1 o ac97 sync acsdout h3 o ac97 serial data out acsdin0 h1 i ac97 serial data in 0 acsdin1 h2 i ac97 serial data in 1 acsdin2 / pcs1# / gpio19 j1 i / o / io ac97 serial data in 2 acsdin3 / ldrq# / gpi5 y8 i / i / i ac97 serial data in 3 acbitclk j3 i ac97 bit clock game port interface signal name pin # i/o signal description jax / gamed0 g5 i joystick a x-axis jay / gamed1 h5 i joystick a y-axis jbx / gamed2 k5 i joystick b x-axis jby / gamed3 j5 i joystick b y-axis jab1 / gamed4 g3 i joystick a button 1 jab2 / gamed5 k4 i joystick a button 2 jbb1 / gamed6 f1 i joystick b button 1 jbb2 / gamed7 h4 i joystick b button 2 see function 0 rx77[6]
VT8231 preliminary revision 0.8 october 29, 1999 -18- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw floppy disk interface signal name pin # i/o signal description drvden0 l17 od drive density select 0. drvden1 k17 od drive density select 1. mtr0# k18 od motor control 0. select motor on drive 0. mtr1# j16 od motor control 1. select motor on drive 1 ds0# j17 od drive select 0. select drive 0. ds1# k19 od drive select 1. select drive 1 dir# k20 od direction. direction of head movement (0 = inward motion, 1 = outward motion) step# j18 od step. low pulse for each track-to-track movement of the head. index# l20 i index. sense to detect that the head is positioned over the beginning of a track hdsel# h19 od head select. selects the side for r/w operations (0 = side 1, 1 = side 0) trk00# h16 i track 0. sense to detect that the head is positioned over track 0. rdata# h20 i read data. raw serial bit stream from the drive for read operatrions. wdata# j19 od write data. encoded data to the drive for write operations. wgate# j20 od write gate. signal to the drive to enable current flow in the write head. dskchg# h18 i disk change. sense that the drive door is open or the diskette has been changed since the last drive selection. wrtprt# h17 i write protect. sense for detection that the diskette is write protected (causes write commands to be ignored) see also parallel port pin descriptions for optional floppy disk interface functionality
VT8231 preliminary revision 0.8 october 29, 1999 -19- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw parallel port interface signal name pin # i/o signal description pinit# / dir# b12 io / o initialize. initialize printer. output in standard mode, i/o in ecp/epp mode. strobe# / nc a11 io / - strobe. output used to strobe data into the printer. i/o in ecp/epp mode. autofd# / drven0 e11 io / o auto feed. output used to cause the printer to automatically feed one line after each line is printed. i/o pin in ecp/epp mode. slctin# / step# d12 io / o select in. output used to select the printer. i/o pin in ecp/epp mode. slct / wgate# e13 i / o select. status output from the printer. high indicates that it is powered on. ack# / ds1# b14 i / o acknowledge. status output from the printer. low indicates that it has received the data and is ready to accept new data error# / hdsel# f11 i / o error. status output from the printer. low indicates an error condition in the printer. busy / mtr1# a14 i / o busy. status output from the printer. high indicates not ready to accept data. pe / wdata# d13 i / o paper end. status output from the printer. high indicates that it is out of paper. pd7 / nc, pd6 / nc, pd5 / nc, pd4 / dskchg#, pd3 / rdata#, pd2 / wrtprt#, pd1 / trk00#, pd0 / index# c14 a13 b13 c13 e12 a12 c12 d11 io / - io / - io / - io / i io / i io / i io / i io / i parallel port data. as shown by the alternate functions above, in mobile applications the parallel port pins can optionally be selected to function as a floppy disk interface for attachment of an external floppy drive using the parallel port connector (see super i/o configuration index f6[5]).
VT8231 preliminary revision 0.8 october 29, 1999 -20- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw serial port and infrared interface signal name pin # i/o signal description txd b15 o transmit data. serial port transmit data out. rxd e14 i receive data. serial port receive data in. irtx / gpo14 r8 o / o infrared transmit. ir transmit data out (rx76[5] = 0) selectable from serial port 1, 2, or 3. general purpose output 14 if rx76[5] = 1 irrx / gpo15 u8 i / o infrared receive. ir receive data in (rx76[5] = 0) selectable to serial port 1, 2, or 3. general purpose output 15 if rx76[5] = 1 irrx2 / gpi t8 i / i infrared receive. ir receive data in (rx76[5] = 0) rts# a15 o request to send. indicator that the serial output port is ready to transmit data. typically used as hardware handshake with cts# for low level flow control. designed for direct input to external rs-232c driver. cts# b16 i clear to send. indicator to the serial port that an external communications device is ready to receive data. typically used as hardware handshake with rts# for low level flow control. designed for input from external rs-232c receiver. dtr# a16 o data terminal ready. indicator that serial port is powered, initialized, and ready. typically used as hardware handshake with dsr# for overall readiness to communicate. designed for direct input to external rs-232c driver. dsr# d14 i data set ready. indicator to serial port that an external serial communications device is powered, initialized, and ready. typically used as hardware handshake with dtr# for overall readiness to communicate. designed for direct input from external rs-232c receiver. dcd# f14 i data carrier detect. indicator to serial port that an external modem is detecting a carrier signal (i.e., a communications channel is currently open). in direct connect environments, this input will typically be driven by dtr# as part of the dtr/dsr handshake. designed for direct input from external rs-232c receiver. ri# c16 i ring indicator. indicator to serial port that an external modem is detecting a ring condition. used by software to initiate operations to answer and open the communications channel. designed for direct input from external rs-232c receiver (whose input is typically not connected in direct connect environments).
VT8231 preliminary revision 0.8 october 29, 1999 -21- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw conventional bios rom / isa bus interface signal name pin # i/o signal description la21 / usboc3# / gpo21 la20 / usboc2# / gpo20 y13 w13 o system address bus . allows access to physical memory devices (e.g., bios roms) up to 4 mbytes. sa[19:18], sa17 / strap, sa16 / strap, sa[15:0] / sdd[15:0] v13, u13, t13, y14, w18, v17, y17, w16, v15, y15, w14, t15, u15, u16, v14, w15, y16, v16, w17, y18 io system address bus . these address lines are used to interface to bios roms but may also be used to implement a subset of the isa bus if required. sa[19-16] are connected to isa bus sa[19-16] directly. sa[19-17] are also connected to la[19-17] of the isa bus. sd15 / lgnt2# / gpo11, sd14 / lreq2# / gpi13, sd13 / lgnt1# / gpo10, sd12 / lreq1# / gpi12, sd11 / hgnt2# / gpo9, sd10 / hreq2# / gpi11, sd9 / hgnt1# / gpo8, sd8 / hreq1# / gpi10, sd7 , sd6 , sd5 , sd4 , sd3 , sd2 , sd1 , sd0 v10 w10 y10 u10 t10 v11 w11 y11 t11 r11 u11 u12 y12 w12 v12 r12 io / o / o io / i / i io / o / o io / i / i io / o / o io / i / i io / o / o io / i / i io io io io io io io io system data. sd[15:0] provide the data path for bios roms and for devices residing on the isa bus. sd0-7 also output general purpose output information when gpowe# is active. ior# / gpo22 u7 io i/o read. ior# is the command to an isa i/o slave device that the slave may drive data on to the isa data bus. iow# / gpo23 t7 io i/o write. iow# is the command to an isa i/o slave device that the slave may latch data from the isa data bus. memr# w9 io memory read. memr# is the command to a memory slave that it may drive data onto the isa data bus. memw# y9 io memory write. memw# is the command to a memory slave that it may latch data from the isa data bus. irq1 / msck n2 i / io interrupt 1 (optional external keyboard controller). irq8# / gpi1 v3 i / i interrupt 8 (optional external rtc). irq12 / msdt n4 i / io interru p t 12 (o p tional external ps2 mouse controller). irq14 t14 i interrupt 14 (ide primary channel). irq15 u14 i interrupt 15 (ide secondary channel). spkr u9 o speaker drive. output of internal timer/counter 2. serial irq signal name pin # i/o signal description serirq v9 i serial irq (rx68[3] = 1 and rx74[6] = 0)
VT8231 preliminary revision 0.8 october 29, 1999 -22- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw internal keyboard controller signal name pin # i/o signal description msck / irq1 n2 io / i multifunction pin (internal mouse controller enabled by rx5a[1]) rx5a[1]=1 mouse clock. from internal mouse controller. rx5a[1]=0 interrupt request 1 . interrupt 1 (external kbc). msdt / irq12 n4 io / i multifunction pin (internal mouse controller enabled by rx5a[1]) rx5a[1]=1 mouse data. from internal mouse controller. rx5a[1]=0 interrupt request 12 . interrupt 12 (ext ps2 mouse ctlr). kbck / a20gate m4 io / i multifunction pin (internal keyboard controller enabled by rx5a[0]) rx5a[0]=1 keyboard clock. from internal keyboard controller rx5a[0]=0 gate a20. input from external keyboard controller. kbdt / kbrc n1 io / i multifunction pin (internal keyboard controller enabled by rx5a[0]) rx5a[0]=1 keyboard data. from internal keyboard controller. rx5a[0]=0 keyboard reset. from external keyboard controller (kbc) for cpurst# generation kbcs# / romcs# / strap t9 o / o / i keyboard chip select (rx5a[0]=0). to external keyboard controller chip. chip selects signal name pin # i/o signal description romcs# / kbcs# / strap t9 o / o / i rom chip select (rx5a[0]=1). chip select to the bios rom. mccs# / gpo17 / strap w6 o / io microcontroller chip select (rx76[3] = 1, rx76[4] = 0, rx77[0] = 1). asserted during read or write accesses to i/o ports 62h or 66h. pcs0# / gpo16 / strap y6 o / io / io programmable chip select 0. (rx76[1] = 1 and rx8b[0] = 1). asserted during i/o cycles to programmable read or write isa i/o port ranges. see also rx59[3] and rx77[2]. pcs1# / acsdin2 / gpio19 j1 o / i / io programmable chip select 1.
VT8231 preliminary revision 0.8 october 29, 1999 -23- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw general purpose inputs signal name pin # i/o signal description gpi0 f4 i general purpose input 0 gpi1 / irq8# v3 i / i general purpose input 1 (rx5a[2] = 1) gpi2 / extsmi# t4 i / io general purpose input 2 gpi3 / ring# u3 i / i general purpose input 3 gpi4 / lid y2 i / i general purpose input 4 gpi5 / batlow# t3 i / i general purpose input 5 gpi6 / pme# u1 i / i general purpose input 6 gpi7 / smbalrt# t2 i / i general purpose input 7 gpi8 / intruder# f3 i / i general purpose input 8 gpi9 / apicclk y3 i / i general purpose input 9 gpi10 / sd8 / hreq1# y11 i / io / i general purpose input 10 gpi11 / sd10 / hreq2# w11 i / io / i general purpose input 11 gpi12 / sd12 / lreq1# u10 i / io / i general purpose input 12 gpi13 / sd14 / lreq2# w10 i / io / i general purpose input 13 gpi14 / wsc# / apicreq# v4 i / i / i general purpose input 14 gpi15 / ldrq# / acsdin3 y8 i / i / i general purpose input 15 gpi16 / cpumiss r5 i / i general purpose input 16 gpi17 / aolgpi / thrm p3 i / i / i general purpose input 17 gpi18 / gpo18 / fan2 / slpbtn# k3 i / o / i / i general purpose input 18 gpi19 / gpo19 / acsdin2 / pcs1# j1 i / o / i / o general purpose input 19 gpi20 general purpose input 20 gpi21 general purpose input 21 gpi22 general purpose input 22 gpi23 general purpose input 23 gpi24 / gpo24 / gpioa v2 i / o / io general purpose input 24 gpi25 / gpo25 / gpioc / atest j2 i / o / io / o general purpose input 25 gpi26 / gpo26 / smbdt2 r2 i / o / io general purpose input 26 gpi27 / gpo27 / smbck2 r1 i / o / io general purpose input 27 gpi28 / gpo28 / apicd0 / apiccs# w4 i / o / o / o general purpose input 28 gpi29 / gpo29 / apicd1 / apicack# y4 i / o / o / o general purpose input 29 gpi30 / gpo30 / gpiod / dtest / sciout# y1 i / o / io / o / o general purpose input 30 gpi31 / gpo31 / gpioe w3 i / o / io general purpose input 31
VT8231 preliminary revision 0.8 october 29, 1999 -24- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw general purpose outputs signal name pin # i/o signal description gpo0 / slowclk r4 o / o general purpose output 0. (func 4 rx54[1-0] = 00). output value determined by pmu i/o rx4c[0] gpo1 / susa# p1 o / o general purpose output 1. gpo2 / susb# p2 o / o general purpose output 2. gpo3 / susst1# n5 o / o general purpose output 3. gpo4 / susclk p4 o / o general purpose output 4. gpo5 / cpustp# w2 o / o general purpose output 5. gpo6 / pcistp# w1 o / o general purpose output 6. gpo7 / slp# u6 o / o general purpose output 7. gpo8 / sd9 / hgnt1# w11 o / io / o general purpose output 8. gpo9 / sd11 / hgnt2# t10 o / io / o general purpose output 9. gpo10 / sd13 / lgnt1# y10 o / io / o general purpose output 10. gpo11 / sd15 / lgnt2# v10 o / io / o general purpose output 11. gpo12 general purpose output 12. gpo13 general purpose output 13. gpo14 / irtx r8 o / o general purpose output 14 (rx76[5] = 1) gpo15 / irrx u8 o / i general purpose output 15 (rx76[5] = 1) gpo16 / pcs0# y6 o / o general purpose output 16. gpo17 / mccs# w6 o / o general purpose output 17. gpo18 / gpi18 / fan2 / slpbtn# k3 o / i / i / i general purpose output 18. gpo19 / gpi19 / pcs1# / acsdin2 j1 o / i / o / i general purpose output 19. gpo20 / la20 / usboc2# w13 o / io / i general purpose output 20. gpo21 / la21 / usboc3# y13 o / io / i general purpose output 21. gpo22 / ior# u7 o / o general purpose output 22. gpo23 / iow# t7 o / o general purpose output 23. gpo24 / gpi24 / gpioa v2 o / i / io general purpose output 24. gpo25 / gpi25 / gpioc / atest j2 o / i / io / o general purpose output 25. gpo26 / gpi26 / smbdt2 r2 o / i / io general purpose output 26. gpo27 / gpi27 / smbck2 r1 o / i / io general purpose output 27. gpo28 / gpi28 / apicd0 / apiccs# w4 o / i / o / o general purpose output 28. gpo29 / gpi29 / apicd1 / apicack# y4 o / i / o / o general purpose output 29. gpo30 / gpi30 / gpiod / dtest / sciout# y1 o / i / io / o / o general purpose output 30. gpo31 / gpi31 / gpioe w3 o / i / io general purpose output 31.
VT8231 preliminary revision 0.8 october 29, 1999 -25- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw general purpose i/os signal name pin # i/o signal description gpioa / gpi24 / gpo24 v2 io / i / o general purpose i/o a / 24 (rx76[0] = 0). gpowe# if rx76[0] = 1. see also rx74[2] gpiob general purpose i/o b gpioc / gpi25 / gpo25 / atest j2 io / i / o / o general purpose i/o c / 25. (rx76[2] = 0). see also rx74[4] gpiod / gpi30 / gpo30 / dtest / sciout# y1 io / i / o / o o general purpose i/o d / 30. (rx76[3] = 0). see also rx74[5] gpioe / gpi31 / gpo31 w3 io general purpose i/o e / 31. hardware monitoring signal name pin # i/o signal description uic1 m1 analog i universal input channel. for temperature / voltage monitoring. uic2 m3 analog i universal input channel. for temperature / voltage monitoring. uic3 m2 analog i universal input channel. for temperature / voltage monitoring. uic4 l4 analog i universal input channel. for temperature / voltage monitoring. uic5 l1 analog i universal input channel. for temperature / voltage monitoring. dtd+ l2 analog i cpu dtd (thermal diode) channel plus. dtd- l3 analog i cpu dtd (thermal diode)channel minus. vref k1 p voltage reference for thermal sensing (5v 5%) fan1 k2 i fan speed monitor 1. (3.3v only) fan2 / slpbtn# / gpi18 / gpo18 k3 i / i / i / o fan speed monitor 2. (3.3v only) dtest / gpiod (30) / sciout# y1 o hardware monitor digital test out atest / gpioc (25) j2 o hardware monitor analog test out
VT8231 preliminary revision 0.8 october 29, 1999 -26- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw power management and external state monitoring signal name pin # i/o signal description pme# / gpi6 u1 i / i power management event. (rx74[1]=0) (1k pu to vccs if not used) extsmi# / gpi2 t4 iod / i external system management interrupt. when enabled to allow it, a falling edge on this input causes an smi# to be generated to the cpu to enter smi mode. (10k pu to vccs if not used) (3.3v only) smbalrt# / gpi7 t2 i / i smb alert (system management bus i/o space rx08[3] = 1). when the chip is enabled to allow it, assertion generates an irq or smi or power management event. (10k pu to vccs if not used) thrm / aolgpi / gpi17 p3 i / i / i monitor input - thermal alarm. (rx74[1]=1) (1k pu to vccs if not used) lid / gpi4 y2 i / i monitor in p ut - notebook com p uter dis p la y lid o p en / closed. used by the power management subsystem to monitor the opening and closing of the display lid of notebook computers. can be used to detect either low-to-high and/or high-to-low transitions to generate an smi#. the VT8231 performs a 200 usec debounce of this input if function 4 rx40[5] is set to 1. (10k pu to vccs if not used) ring# / gpi3 u3 i / i monitor input ? modem ring. may be connected to external modem circuitry to allow the system to be re-activated by a received phone call. (10k pu to vccs if not used) batlow# / gpi5 t3 i / i monitor input - battery low. (10k pu to vccs if not used) cpumiss / gpi16 r5 i / i monitor input - cpu missing. indicates whether the cpu is plugged in correctly. aolgpi / gpi17 / thrm p3 i / i / i monitor input - awake on lan external event. intruder# / gpi8 f3 i / i monitor input ? chassis intrusion. rsmrst# f5 i resume reset. resets the internal logic connected to the vccs power plane and also resets portions of the internal rtc logic. susa# / gpo1 / strap p1 o / o / i suspend plane a control (rx74[7]=0 and function 4 rx54[2]=0). asserted during power management pos, str, and std suspend states. used to control the primary power plane. (10k pu to vccs if not used) susb# / gpo2 p2 o / o suspend plane b control (rx74[7]=0 and function 4 rx54[3]=0). asserted during power management str and std suspend states. used to control the secondary power plane. (10k pu to vccs if not used) susc# / gpo n3 o / o suspend plane c control. asserted during power management std suspend state. used to control the tertiary power plane. also connected to atx power-on circuitry. susst1# / gpo3 n5 o / o suspend status 1 (func4 rx54[4] = 1 for gpo3). typically connected to the north bridge to provide information on host clock status. asserted when the system may stop the host clock, such as stop clock or during pos, str, or std suspend states. connect 10k pu to vccs. susclk / gpo4 p4 o / o suspend clock. 32.768 khz output clock for use by the north bridge (e.g., apollo mvp3 or mvp4) for dram refresh purposes. stopped during suspend-to-disk and soft-off modes. connect 10k pu to vccs.
VT8231 preliminary revision 0.8 october 29, 1999 -27- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw resets, clocks, and clock control signal name pin # i/o signal description pwrgd e3 i power good. connected to the pwrgood signal on the power supply. pwrbtn# u2 i power button. used by the power management subsystem to monitor an external system on/off button or switch. the VT8231 performs a 200us debounce of this input if function 4 rx40[5] is set to 1. (3.3v only) slpbtn# / fan2 / gpio18 k3 i / i / io sleep button. used by the power management subsystem to monitor an external system sleep button or switch (function 4 rx40[6] = 1). connect to vcc if not used. pcirst# e4 o pci reset. active low reset signal for the pci bus. the VT8231 will assert this pin during power-up or from the control register. rtcx1 e2 i rtc crystal input : 32.768 khz crystal or oscillator input. this input is used for the internal rtc and for power-well power management logic. rtcx2 e1 o rtc crystal output : 32.768 khz crystal output osc t12 i oscillator. 14.31818 mhz clock signal used by the internal timer. slowclk / gpo0 r4 o slow clock. frequency selectable if pmu function 4 rx54[1-0] is nonzero (set to 01, 10, or 11). cpustp# / gpo5 w2 o / o cpu clock stop (rx75[4] = 0). signals the system clock generator to disable the cpu clock outputs. not connected if not used. see also pmu i/o rx2c[3]. pcistp# / gpo6 w1 o / o pci clock stop (rx75[5] = 0). signals the system clock generator to disable the pci clock outputs. not connected if not used.
VT8231 preliminary revision 0.8 october 29, 1999 -28- pinouts 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw power and ground signal name pin # i/o signal description vcc (27 pins) f7, f9, f12-f13, f15, g6, g8-g10, g12, h6, j6, j15, k15, l6, m6, m15, n6, p8-p9, p11-p13, p15, r7, r9-r10, r13-r15 p core power. 3.3v nominal (3.15v to 3.45v). this supply is turned on only when the mechanical switch on the power supply is turned on and the pwron signal is conditioned high. these pins should be connected to the same voltage as the cpu i/o circuitry. internally connected to hardware monitoring system voltage detection circuitry for 3.3v monitoring. gnd (27 pins) g7, g11, g14, h15, j8-j13, k6, k8-k13, l8-l13, l15, m8-m13, n15, p7, p10, p14 p ground. connect to primary motherboard ground plane. vccsus p5, p6 p suspend power. always available unless the mechanical switch of the power supply is turned off. if the ? soft-off ? state is not implemented, then this pin can be connected to vcc. signals powered by or referenced to this plane are: smbck1/dt1, kbck/dt, msck/dt, pwrbtn#, susc#, gpo0 / slowclk, gpo1 / susa#, gpo2 / susb#, gpo3 / susst1#, gpo4 / susclk, gpi1 / irq8#, gpi2 / extsmi#, gpi3 / ring#, gpi4 / lid, gpi5 / batlow#, gpi6 / pme#, gpi7 / smbalrt#, gpi16 / cpumiss, gpi17 / aolgpi / thrm, gpio26 / smbdt2, gpio27 / smbck2 vbat f2 p rtc battery. battery input for internal rtc. signals powered by or referenced to this plane are: rtcx1, rtcx2, pwrgd, rsmrst#, gpi0, and intruder#. vref k1 p voltage reference (5v 5%). for thermal sensing and 5v input tolerance. vcchwm m5 p hardware monitor power. power for hardware monitoring subsystem (voltage monitoring, temperature monitoring, and fan speed monitoring). connect to vcc through a ferrite bead. signals powered by or referenced to this plane are: uic[5:1], dtd+/-, fan1, fan2 / slpbtn# / gpio18 gndhwm l5 p hardware monitor ground. connect to gnd through a ferrite bead. vccmii f16, k16 p lan mii power. power for lan media independent interface (interface to external phy). connect to vcc through a ferrite bead. signals powered by or referenced to this plane are: mcrs, mcol, mdck, mdio, mtxd[3:0], mtxena, mtxclk, mrxerr, mrxclk, mrxdv, and mrxd[3:0] vccram g15 p lan ram power. power for lan internal ram. connect to vcc through a ferrite bead. gndram g13 p lan ram ground. connect to gnd through a ferrite bead. vccpll l16 p pll power. power for internal pll. connect to vcc through a ferrite bead. gndpll m16 p pll ground. connect to gnd through a ferrite bead. vccusb e15 p usb differential output power. power for usb differential outputs (usbp0+, p0-, p1+, p1-, p2+, p2-, p3+, p3-). connect to vcc through a ferrite bead. gndusb d15 p usb differential output ground. connect to gnd through a ferrite bead.
VT8231 preliminary revision 0.8 october 29, 1999 -29- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw r egisters register overview the following tables summarize the configuration and i/o registers of the VT8231. these tables also document the power-on default value ( ? default ? ) and access type ( ? acc ? ) for each register. access type definitions used are rw (read/write), ro (read/only), ??? for reserved / used (essentially the same as ro), and rwc (or just wc) (read / write 1 ? s to clear individual bits). registers indicated as rw may have some read/only bits that always read back a fixed value (usually 0 if unused); registers designated as rwc or wc may have some read-only or read write bits (see individual register descriptions for details). detailed register descriptions are provided in the following section of this document. all offset and default values are shown in hexadecimal unless otherwise indicated table 2. system i/o map port function actual port decoding 00-1f master dma controller 0000 0000 000x nnnn 20-3f master interrupt controller 0000 0000 001x xxxn 40-5f timer / counter 0000 0000 010x xxnn 60-6f keyboard controller 0000 0000 0110 xnxn (60h) kbc data 0000 0000 0110 x0x0 (61h) misc functions & spkr ctrl 0000 0000 0110 xxx1 (64h) kbc command / status 0000 0000 0110 x1x0 70-77 rtc/cmos/nmi-disable 0000 0000 0111 0nnn 78-7f -available for system use- 0000 0000 0111 1xxx 80 -reserved- (debug port) 0000 0000 1000 0000 81-8f dma page registers 0000 0000 1000 nnnn 90-91 -available for system use- 0000 0000 1001 000x 92 system control 0000 0000 1001 0010 93-9f -available for system use- 0000 0000 1001 nnnn a0-bf slave interrupt controller 0000 0000 101x xxxn c0-df slave dma controller 0000 0000 110n nnnx e0-ff -available for system use- 0000 0000 111x xxxx 100-cf7 -available for system use* cf8-cfb pci configuration address 0000 1100 1111 10xx cfc-cff pci configuration data 0000 1100 1111 11xx d00-ffff -available for system use- * on-chip super-i/o functions ? pc-standard port addresses 200-20f game port 2e8-2ef com4 2f8-2ff com2 378-37f parallel port (standard & epp) 3e8-3ef com3 3f0-3f1 configuration index / data 3f0-3f7 floppy controller 3f8-3ff com1 400-402 parallel port (ecp extensions)
VT8231 preliminary revision 0.8 october 29, 1999 -30- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw table 3. registers legacy i/o registers port master dma controller registers default acc 00 channel 0 base & current address rw 01 channel 0 base & current count rw 02 channel 1 base & current address rw 03 channel 1 base & current count rw 04 channel 2 base & current address rw 05 channel 2 base & current count rw 06 channel 3 base & current address rw 07 channel 3 base & current count rw 08 status / command rw 09 write request wo 0a write single mask wo 0b write mode wo 0c clear byte pointer ff wo 0d master clear wo 0e clear mask wo 0f read / write mask rw port master interrupt controller regs default acc 20 master interrupt control ? * 21 master interrupt mask ? * 20 master interrupt control shadow ? rw 21 master interrupt mask shadow ? rw * rw if shadow registers are disabled port timer/counter registers default acc 40 timer / counter 0 count rw 41 timer / counter 1 count rw 42 timer / counter 2 count rw 43 timer / counter control wo port keyboard controller registers default acc 60 keyboard controller data rw 61 misc functions & speaker control rw 64 keyboard ctrlr command / status rw port cmos / rtc / nmi registers default acc 70 cmos memory address & nmi disa wo 71 cmos memory data (128 bytes) rw 72 cmos memory address rw 73 cmos memory data (256 bytes) rw 74 cmos memory address rw 75 cmos memory data (256 bytes) rw nmi disable is port 70h (cmos memory address) bit-7. rtc control occurs via specific cmos data locations (0-dh). ports 72-73 may be used to access all 256 locations of cmos. ports 74-75 may be used to access cmos if the internal rtc is disabled. legacy i/o registers (continued) port dma page registers default acc 87 dma page ? dma channel 0 rw 83 dma page ? dma channel 1 rw 81 dma page ? dma channel 2 rw 82 dma page ? dma channel 3 rw 8f dma page ? dma channel 4 rw 8b dma page ? dma channel 5 rw 89 dma page ? dma channel 6 rw 8a dma page ? dma channel 7 rw port system control registers default acc 92 system control rw port slave interrupt controller regs default acc a0 slave interrupt control ? * a1 slave interrupt mask ? * a0 slave interrupt control shadow ? rw a1 slave interrupt mask shadow ? rw * rw accessible if shadow registers are disabled port slave dma controller registers default acc c0 channel 0 base & current address rw c2 channel 0 base & current count rw c4 channel 1 base & current address rw c6 channel 1 base & current count rw c8 channel 2 base & current address rw ca channel 2 base & current count rw cc channel 3 base & current address rw ce channel 3 base & current count rw d0 status / command rw d2 write request wo d4 write single mask wo d6 write mode wo d8 clear byte pointer ff wo da master clear wo dc clear mask wo de read / write mask rw
VT8231 preliminary revision 0.8 october 29, 1999 -31- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw super-i/o configuration registers (i/o space) port super-i/o configuration registers default acc 3f0 super-i/o config index (rx85[1]=1) 00 rw 3f1 super-i/o config data (rx85[1]=1) 00 rw super-i/o config registers (indexed via port 3f0/1) offset su p er-i/o control default acc 00-df -reserved- 00 ro e0 super-i/o device id 3c rw e1 super-i/o device revision 00 rw e2 function select 00 rw e3 floppy ctrlr base addr (def = 3f0-7) fc rw e4-e5 -reserved- 00 ro e6 parallel port base addr (def = 378-f) de rw e7 serial port 1 base addr (def = 3f8-f) fe rw e8 serial port 2 base addr (def = 2f8-f) be rw e9-ed -reserved- 00 ro ee serial port configuration 00 rw ef power down control 00 rw f0 parallel port control 00 rw f1 serial port control 00 rw f2 test mode (do not program) 00 rw f3 -reserved- 00 ro f4 test mode (do not program) 2 00 rw f5 -reserved- 00 ro f6 floppy controller configuration 00 rw f7 -reserved- 00 ro f8 floppy controller drive select 00 rw f9-fb -reserved- 00 ro fc general purpose i/o 00 rw fd-ff -reserved- 00 ro super-i/o i/o ports offset floppy disk controller (3f0-3f7) default acc 00-01 -reserved- 00 -- 02 fdc command -- rw 03 -reserved- 00 -- 04 fdc main status -- ro 04 fdc data rate select 00 wo 05 fdc data -- rw 06 -reserved- 00 -- 07 diskchange status -- ro 07 fdc configuration control 00 wo offset parallel port (378-37f typical) default acc 00 parallel port data -- rw 01 parallel port status -- ro 02 parallel port control e0 rw 03 epp address rw 04 epp data port 0 rw 05 epp data port 1 rw 06 epp data port 2 rw 07 epp data port 3 rw 400h ecp data / configuration a rw 401h ecp configuration b rw 402h ecp extended control rw offset serial port 1 (com1=3f8, 3=3e8) default acc 0 transmit (wr) / receive (rd) buffer rw 1 interrupt enable rw 2 fifo control wo 2 interrupt status ro 3uart control rw 4 handshake control rw 5uart status rw 6 handshake status rw 7 scratchpad rw 9-8 baud rate generator divisor rw a-f -undefined- -- offset serial port 2 (com2=2f8, 4=2e8) default acc 0 transmit (wr) / receive (rd) buffer rw 1 interrupt enable rw 2 fifo control wo 2 interrupt status ro 3uart control rw 4 handshake control rw 5uart status rw 6 handshake status rw 7 scratchpad rw 9-8 baud rate generator divisor rw a-f -undefined- --
VT8231 preliminary revision 0.8 october 29, 1999 -32- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw pci function 0 registers ? pci-to-isa bridge configuration space pci-to-isa bridge header registers offset pci confi g uration s p ace header default acc 1-0 vendor id 1106 ro 3-2 device id 8231 ro 5-4 command 0087 rw 7-6 status 0200 wc 8 revision id nn ro 9 programming interface 00 ro a sub class code 01 ro b base class code 06 ro c -reserved- (cache line size) 00 ? d -reserved- (latency timer) 00 ? e header type 80 ro f built in self test (bist) 00 ro 10-27 -reserved- (base address registers) 00 ? 28-2b -reserved- (unassigned) 00 ? 2f-2c subsystem id read 00 ro 30-33 -reserved- (expan. rom base addr) 00 ? 34-3b -reserved- (unassigned) 00 ? 3c -reserved- (interrupt line) 00 ? 3d -reserved- (interrupt pin) 00 ? 3e -reserved- (min gnt) 00 ? 3f -reserved- (max lat) 00 ? configuration space pci-to-isa bridge-specific registers offset isa bus control default acc 40 isa bus control 00 rw 41 isa test mode 00 rw 42 isa clock control 00 rw 43 rom decode control 00 rw 44 keyboard controller control 00 rw 45 type f dma control 00 rw 46 miscellaneous control 1 00 rw 47 miscellaneous control 2 00 rw 48 miscellaneous control 3 01 rw 49 -reserved- 00 ? 4a ide interrupt routing 04 rw 4b -reserved- 00 ? 4c dma / master mem access control 1 00 rw 4d dma / master mem access control 2 00 rw 4f-4e dma / master mem access control 3 0300 rw offset plu g and pla y control default acc 50 pnp dma request control 2d rw 51 pnp routing for lpt / fdc irq 00 rw 52 pnp routing for com2 / com1 irq 00 rw 53 -reserved- 00 ? 54 pci irq edge / level select 00 rw 55 pnp routing for pci inta 00 rw 56 pnp routing for pci intb-c 00 rw 57 pnp routing for pci intd 00 rw 58 -reserved- 00 ? 59 -reserved- 04 ? 5a kbc / rtc control x4 ? rw 5b internal rtc test mode 00 rw 5c dma control 00 rw 5d-5e -reserved- 00 ? 5f -reserved- (do not program) 04 rw ? bit 7-4 power-up default depends on external strapping offset distributed dma default acc 61-60 channel 0 base address / enable 0000 rw 63-62 channel 1 base address / enable 0000 rw 65-64 channel 2 base address / enable 0000 rw 67-66 channel 3 base address / enable 0000 rw 69-68 serial irq control 0000 rw 6b-6a channel 5 base address / enable 0000 rw 6d-6c channel 6 base address / enable 0000 rw 6f-6e channel 7 base address / enable 0000 rw offset miscellaneous default acc 70 subsystem id write 00 wo 71-73 -reserved- 00 ? 74 gpio control 1 00 rw 75 gpio control 2 00 rw 76 gpio control 3 00 rw 77 gpio control 4 00 rw 79-78 pcs0# i/o port address 0000 0000 rw 7b-7a pcs1# i/o port address 0000 0000 rw 7d-7c pci dma channel enable 0000 rw 7f-7e 32-bit dma control 0000 rw 80 programmable chip select mask 00 rw 81 isa positive decoding control 1 00 rw 82 isa positive decoding control 2 00 rw 83 isa positive decoding control 3 00 rw 84 isa positive decoding control 4 00 rw 85 extended function enable 00 rw 86-87 pnp irq/drq test (do not program) 00 rw 88 pll test 00 rw 89 pll control 00 rw 8a pcs2/3 i/o port address mask 00 rw 8b pcs control 00 rw 8d-8c pcs2# i/o port address 0000 rw 8f-8e pcs3# i/o port address 0000 rw 90-ff -reserved- 00 ?
VT8231 preliminary revision 0.8 october 29, 1999 -33- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw pci function 1 registers ? ide controller configuration space ide header registers offset pci confi g uration s p ace header default acc 1-0 vendor id 1106 ro 3-2 device id 0571 ro 5-4 command 0080 ro 7-6 status 0280 rw 8 revision id nn ro 9 programming interface 85 rw a sub class code 01 ro b base class code 01 ro c -reserved- (cache line size) 00 ? d latency timer 00 rw e header type 00 ro f built in self test (bist) 00 ro 13-10 base address ? pri data / command 000001f0 ro 17-14 base address ? pri control / status 000003f4 ro 1b-18 base address ? sec data / command 00000170 ro 1f-1c base address ? sec control / status 00000374 ro 23-20 base address ? bus master control 0000cc01 rw 24-2f -reserved- (unassigned) 00 ? 30-33 -reserved- (expan rom base addr) 00 ? 34 capability pointer c0 ro 35-3b -reserved- (unassigned) 00 ? 3c interrupt line 0e rw 3d interrupt pin 00 ro 3e minimum grant 00 ro 3f maximum latency 00 ro configuration space ide-specific registers offset confi g uration s p ace ide re g isters default acc 40 ide chip enable 08 rw 41 ide configuration 02 rw 42 -reserved- (do not program) 09 rw 43 ide fifo configuration 3a rw 44 ide miscellaneous control 1 68 rw 45 ide miscellaneous control 2 03 rw 46 ide miscellaneous control 3 c0 rw 4b-48 ide drive timing control a8a8a8a8 rw 4c ide address setup time ff rw 4d -reserved- (do not program) 00 rw 4e sec non-1f0 ide port access timing ff rw 4f pri non-1f0 ide port access timing ff rw configuration space ide-specific registers (continued) offset confi g uration s p ace ide re g isters default acc 53-50 ultradma extended timing control 03030303 rw 54 ultradma fifo control 06 rw 55-5f -reserved- 00 ? 61-60 ide primary sector size 0200 rw 62-67 -reserved- 00 ? 69-68 ide secondary sector size 0200 rw 69-6f -reserved- 00 ? 70 ide primary status 00 rw 71 ide primary interrupt control 00 rw 72-77 -reserved- 00 ? 78 ide secondary status 00 rw 79 ide secondary interrupt control 00 rw 7a-7f -reserved- 00 ? 83-80 ide primary s/g descriptor address 0000 0000 rw 84-87 -reserved- 00 ? 8b-88 ide secondary s/g descriptor addr 0000 0000 rw 8c-bf -reserved- 00 ? c3-c0 pci pm block 1 0201 ro c7-c4 pci pm block 2 0000 rw c8-ff -reserved- 00 ? i/o registers ? ide controller (sff 8038 v1.0 compliant offset ide i/o registers default acc 0 primary channel command 00 rw 1 -reserved- 00 ? 2 primary channel status 00 wc 3 -reserved- 00 ? 4-7 primary channel prd table addr 00 rw 8 secondary channel command 00 rw 9 -reserved- 00 ? a secondary channel status 00 wc b -reserved- 00 ? c-f secondary channel prd table addr 00 rw
VT8231 preliminary revision 0.8 october 29, 1999 -34- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw pci function 2 registers ? usb controller ports 0-1 configuration space usb header registers offset pci confi g uration s p ace header default acc 1-0 vendor id 1106 ro 3-2 device id 3038 ro 5-4 command 0000 rw 7-6 status 0200 wc 8 revision id nn ro 9 programming interface 00 ro a sub class code 03 ro b base class code 0c ro c cache line size 00 ro d latency timer 16 rw e header type 00 ro fbist 00 ro 10-1f -reserved- 00 ? 23-20 usb i/o register base address 00000301 rw 24-3b -reserved- 00 ? 3c interrupt line 00 rw 3d interrupt pin 04 ro 3e-3f -reserved- 00 ? configuration space usb-specific registers offset usb control default acc 40 usb miscellaneous control 1 00 rw 41 usb miscellaneous control 2 10 rw 42 usb fifo control 00 rw 43 -reserved- 00 ro 44-45 -reserved- (test, do not program) rw 46-47 -reserved- (test) ro 48-5f -reserved- 00 ? 60 usb serial bus release number 10 ro 61-7f -reserved- 00 ? 83-80 pm capability 0002 0001 ro 84 pm capability status 00 rw 85-bf -reserved- 00 ? c1-c0 usb legacy support 2000 rw c2-ff -reserved- 00 ? i/o registers ? usb controller offset usb i/o re g isters default acc 1-0 usb command 0000 rw 3-2 usb status 0000 wc 5-4 usb interrupt enable 0000 rw 7-6 frame number 0000 rw b-8 frame list base address 00000000 rw c start of frame modify 40 rw 11-10 port 0 status / control 0080 wc 13-12 port 1 status / control 0080 wc 14-1f -reserved- 00 ? pci function 3 registers ? usb controller ports 2-3 configuration space usb header registers offset pci confi g uration s p ace header default acc 1-0 vendor id 1106 ro 3-2 device id 3038 ro 5-4 command 0000 rw 7-6 status 0200 wc 8 revision id nn ro 9 programming interface 00 ro a sub class code 03 ro b base class code 0c ro c cache line size 00 ro d latency timer 16 rw e header type 00 ro fbist 00 ro 10-1f -reserved- 00 ? 23-20 usb i/o register base address 00000301 rw 24-3b -reserved- 00 ? 3c interrupt line 00 rw 3d interrupt pin 04 ro 3e-3f -reserved- 00 ? configuration space usb-specific registers offset usb control default acc 40 usb miscellaneous control 1 00 rw 41 usb miscellaneous control 2 10 rw 42 usb fifo control 00 rw 43 -reserved- 00 ro 44-45 -reserved- (test only, do not program) rw 46-47 -reserved- (test) ro 48-5f -reserved- 00 ? 60 usb serial bus release number 10 ro 61-7f -reserved- 00 ? 83-80 pm capability 0002 0001 ro 84 pm capability status 00 rw 85-bf -reserved- 00 ? c1-c0 usb legacy support 2000 rw c2-ff -reserved- 00 ? i/o registers - usb controller offset usb i/o re g isters default acc 1-0 usb command 0000 rw 3-2 usb status 0000 wc 5-4 usb interrupt enable 0000 rw 7-6 frame number 0000 rw b-8 frame list base address 00000000 rw c start of frame modify 40 rw 11-10 port 2 status / control 0080 wc 13-12 port 3 status / control 0080 wc 14-1f -reserved- 00 ?
VT8231 preliminary revision 0.8 october 29, 1999 -35- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw pci function 4 registers - power management configuration space power management header registers offset pci confi g uration s p ace header default acc 1-0 vendor id 1106 ro 3-2 device id 3068 ro 5-4 command 0000 ro 7-6 status 0280 wc 8 revision id nn ro 9pro g rammin g interface 00 ? ro a sub class code 00 ? ro b base class code 00 ? ro c cache line size 00 ro d latenc y timer 00 ro e header t yp e00ro fbist 00 ro 10-3f -reserved- 00 ? ? the default values for these registers may be changed by writing to offsets 61-63h (see below). configuration space power management registers offset power mana g ement default acc 40 general configuration 0 00 rw 41 general configuration 1 00 rw 42 acpi interrupt select 00 rw 43 internal timer read test ? ro 45-44 primary interrupt channel 0000 rw 47-46 secondary interrupt channel 0000 rw 4b-48 power mgmt i/o base (256 bytes) 0000 0001 rw 4c host bus power management control 00 rw 4d throttle / clock stop control 00 rw 4e-4f -reserved- 00 ? 53-50 gp timer control 0000 0000 rw 54 power well control 00 rw 55 usb wakeup control 00 rw 56-57 -reserved- 00 ? 58 gp2 / gp3 timer control 00 rw 59 gp2 timer 00 rw 5a gp3 timer 00 rw 5b-60 -reserved- 00 ? 61 write value for offset 9 (prog intfc) 00 wo 62 write value for offset a (sub class) 00 wo 63 write value for offset b (base class) 00 wo 64-7f -reserved- 00 ? configuration space hardware monitor registers offset system management bus default acc 71-70 hardware mon io base (128 bytes) 0001 rw 72-73 -reserved- 00 ? 74 hardware monitor control 00 rw 75-8f -reserved- 00 ? configuration space smbus registers offset system management bus default acc 93-90 smbus i/o base (16 bytes) 0000 0001 rw 94-d1 -reserved- 00 ? d2 smbus host configuration 00 rw d3 smbus host slave command 00 rw d4 smbus slave address shadow port 1 00 rw d5 smbus slave address shadow port 2 00 rw d6 smbus revision id nn ro d7-ff -reserved- 00 ?
VT8231 preliminary revision 0.8 october 29, 1999 -36- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o space power management- registers offset basic control / status re g isters default acc 1-0 power management status 0000 wc 3-2 power management enable 0000 rw 5-4 power management control 0000 rw 6-7 -reserved- 00 ? b-8 power management timer 0000 0000 rw c-f -reserved- 00 ? offset processor re g isters default acc 13-10 processor and pci bus control 0000 0000 rw 14 processor lvl2 00 ro 15 processor lvl3 00 ro 16-1f -reserved- 00 ? offset general pur p ose re g isters default acc 21-20 general purpose status 0000 wc 23-22 general purpose sci enable 0000 rw 25-24 general purpose smi enable 0000 rw 26-27 -reserved- 00 ? offset generic re g isters default acc 29-28 global status 0000 wc 2b-2a global enable 0000 rw 2d-2c global control 0010 rw 2e -reserved- 00 ? 2f smi command 00 rw 33-30 primary activity detect status 0000 0000 wc 37-34 primary activity detect enable 0000 0000 rw 3b-38 gp timer reload enable 0000 0000 rw 3c-3f -reserved- 00 ? offset general pur p ose i/o re g isters default acc 40 extended i/o trap status 00 wc 41 -reserved- 00 ? 42 extended i/o trap enable 00 rw 43 -reserved- 00 ? 44 external smi / gpi input value input ro 45 smi / irq / resume status 00 ro 46-47 -reserved- 00 ? 4b-48 gpi port input value input ro 4f-4c gpo port output value 03ff ffff rw 50-ff -reserved- 00 ? i/o space system management bus registers offset s y stem mana g ement bus default acc 0 smbus host status 00 wc 1 smbus slave status 00 rw 2 smbus host control 00 rw 3 smbus host command 00 rw 4 smbus host address 00 rw 5 smbus host data 0 00 rw 6 smbus host data 1 00 rw 7 smbus block data 00 rw 8 smbus slave control 00 rw 9 smbus shadow command 00 ro a-b smbus slave event 0000 rw c-d smbus slave data 0000 ro e-f -reserved- 00 ?
VT8231 preliminary revision 0.8 october 29, 1999 -37- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o space hardware monitor registers offset hardware monitor default acc 00-3f value ram 00-12 -reserved- 00 ? 13 analog data 15-8 00 rw 14 analog data 7-0 00 rw 15 digital data 7-0 00 rw 16 channel counter 00 rw 17 data valid & channel indicators 00 rw 18-1c -reserved- 00 ? 1d tsens3 hot hi limit 00 rw 1e tsens3 hot hysteresis lo lim 00 rw 1f tsens3 (int) temp reading 00 rw 20 tsens1 (w13) temp reading 00 rw 21 tsens2 (y13) temp reading 00 rw 22 vsens1 (u13) voltage reading 00 rw 23 vsens2 (v13) voltage reading 00 rw 24 internal core vcc voltage reading 00 rw 25 vsens3 (w14) voltage reading 00 rw 26 vsens4 (y14) voltage reading 00 rw 27 -reserved- (-12v voltage reading) 00 ? 28 -reserved- (-5v voltage reading) 00 ? 29 fan1 (t12) count reading 00 rw 2a fan2 (u12) count reading 00 rw 2b vsens1 (cpu) voltage high limit 00 rw 2c vsens1 (cpu) voltage low limit 00 rw 2d vsens2 (nb) voltage high limit 00 rw 2e vsens2 (nb) voltage low limit 00 rw 2f internal core vcc high limit 00 rw 30 internal core vcc low limit 00 rw 31 vsens3 (5v) voltage high limit 00 rw 32 vsens3 (5v) voltage low limit 00 rw 33 vsens4 (12v) voltage high limit 00 rw 34 vsens4 (12v) voltage low limit 00 rw 35 -reserved- (-12v sense high limit) 00 ? 36 -reserved- (-12v sense low limit) 00 ? 37 -reserved- (-5v sense high limit) 00 ? 38 -reserved- (-5v sense low limit) 00 ? 39 tsens1 hot high limit 00 rw 3a tsens1 hot hysteresis lo lim 00 rw 3b fan1 fan count limit 00 rw 3c fan2 fan count limit 00 rw 3d tsens2 hot high limit 00 rw 3e tsens2 hot hysteresis lo lim 00 rw 3f stepping id number 00 rw offset hardware monitor (continued) default acc 40 hardware monitor configuration 08 rw 41 hardware monitor interrupt status 1 00 ro 42 hardware monitor interrupt status 2 00 ro 43 hardware monitor interrupt mask 1 00 rw 44 hardware monitor interrupt mask 2 00 rw 45-46 -reserved- 00 ? 47 hardware monitor fan configuration 50 rw 48 -reserved- 00 ? 49 hw mon temp value lo-order bits 00 rw 4a -reserved- 00 ? 4b temperature interrupt configuration 15 rw 4c-ff -reserved- 00 ?
VT8231 preliminary revision 0.8 october 29, 1999 -38- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw pci function 5 & 6 registers ? ac97 / mc97 codecs function 5 configuration space ac97 header registers offset pci confi g uration s p ace header default acc 1-0 vendor id 1106 ro 3-2 device id 3058 ro 5-4 command 0000 rw 7-6 status 0210 wc 8 revision id 40 ro 9 programming interface 00 ro a sub class code 01 ro b base class code 04 ro c cache line size 00 ro d latency timer 00 rw e header type 00 ro fbist 00 ro 13-10 base address 0 - sgd control/status 0000 0001 rw 17-14 base address 1 - fm nmi status 0000 0001 rw 1b-18 base address 2 - midi port 0000 0331 rw 1f-1c base address 3 (reserved) 0000 0000 ? 23-20 base address 4 (reserved) 0000 0000 ? 27-24 base address 5 (reserved) 0000 0000 ? 28-29 -reserved- 00 ? 2f-2c subsystem id / subvendor id 0000 0000 rw 33-30 expansion rom (reserved) 0000 0000 ? 34 capture pointer 00 rw 35-3b -reserved- 00 ? 3c interrupt line 00 rw 3d interrupt pin 03 ro 3e minimum grant 00 ro 3f maximum latency 00 ro configuration space audio codec-specific registers offset audio codec link control default acc 40 ac-link interface status 00 ro 41 ac-link interface control 00 rw 42 function enable 00 rw 43 plug and play control 1c rw 44 mc97 interface control 00 ro 45-47 -reserved- 00 ? 48 fm nmi control 00 rw 49 -reserved- 00 ? 4b-4a game port base address 0000 rw 4c-ff -reserved- 00 ? function 6 configuration space mc97 header registers offset pci confi g uration s p ace header default acc 1-0 vendor id 1106 ro 3-2 device id 3068 ro 5-4 command 0000 rw 7-6 status 0200 wc 8 revision id 40 ro 9 programming interface 00 ro a sub class code 80 ro b base class code 07 ro c cache line size 00 ro d latency timer 00 rw e header type 00 ro fbist 00 ro 13-10 base address 0 - sgd control/status 0000 0001 rw 17-14 base address 1 - (reserved) 0000 0000 rw 1b-18 base address 2 - (reserved) 0000 0000 rw 1f-1c base address 3 ? codec reg shadow 0000 0001 ? 23-20 base address 4 (reserved) 0000 0000 ? 27-24 base address 5 (reserved) 0000 0000 ? 28-29 -reserved- 00 ? 2f-2c subsystem id / subvendor id 0000 0000 rw 33-30 expansion rom (reserved) 0000 0000 ? 34 capture pointer 00 rw 35-3b -reserved- 00 ? 3c interrupt line 00 rw 3d interrupt pin 03 ro 3e minimum grant 00 ro 3f maximum latency 00 ro configuration space modem codec-specific registers offset modem codec link control default acc 40 ac-link interface status 00 ro 41 ac-link interface control 00 rw 42 function enable 00 ro 43 plug and play control 1c ro 44 mc97 interface control 00 rw 45-47 -reserved- 00 ? 48 fm nmi control 00 ro 49 -reserved- 00 ? 4b-4a game port base address 0000 ro 4c-ff -reserved- 00 ?
VT8231 preliminary revision 0.8 october 29, 1999 -39- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw func 5 i/o base 0 regs ? audio scatter-gather dma offset sgd i/o re g isters ( dsxn: n=1-3 ) default acc n0 sgd dxsn read channel status 00 wc n1 sgd dxsn read channel control 00 rw n2 sgd dxsn read chan left volume 00 rw n3 sgd dxsn read chan right volume 00 rw n7-n4 sgd dxsn read ch table ptr base sgd dxsn read ch current address 0000 0000 wr rd nb-n8 sgd dxsn read channel format 0000 0000 ro nf-nc sgd dxsn read chan index / count 0000 0000 ro 40 sgd 3d channel status 00 wc 41 sgd 3d channel control 00 rw 42 sgd 3d channel format 00 rw 43 sgd 3d channel scratch 00 rw 47-44 sgd 3d channel table ptr base sgd 3d channel current address 0000 0000 wr rd 4b-48 sgd 3d channel slot select 0000 0000 rw 4f-4c sgd 3d channel index / count 0000 0000 ro 50 sgd fm channel status 00 wc 51 sgd fm channel control 00 rw 52 sgd fm channel type 00 rw 53 -reserved- 00 ? 57-54 sgd fm channel table pointer base sgd fm channel current address 0000 0000 wr rd 58-5b -reserved- 00 ? 5f-5c sgd fm channel current count 0000 0000 ro 60 sgd write channel 0 status 00 wc 61 sgd write channel 0 control 00 rw 62 sgd write channel 0 format 00 rw 63 -reserved- 00 ? 67-64 sgd write channel 0 table ptr base sgd write channel 0 current addr 0000 0000 wr rd 68-6b -reserved- 00 ? 6f-6c sgd write channel 0 current count 0000 0000 ro 70 sgd write channel 1 status 00 wc 71 sgd write channel 1 control 00 rw 72 sgd write channel 1 format 00 rw 73 -reserved- 00 ? 77-74 sgd write channel 1 table ptr base sgd write channel 1 current addr 0000 0000 wr rd 78-7b -reserved- 00 ? 7f-7c sgd write channel 1 current count 0000 0000 ro offset ac97 controller i/o registers default acc 80-df -reserved- 00 ? e3-e0 ac97 controller command / status 0000 0000 rw e4-ef -reserved- 00 ? f3-f0 sgd status shadow 0000 0000 ro f4-ff -reserved- 00 ? the above registers are accessable through function 5 only. function 5 i/o base 1 registers ? fm nmi status offset fm nmi status re g isters default acc 0fm nmi status 00 ro 1 fm nmi data 00 ro 2 fm nmi index 00 ro 3 reserved 00 ? the above registers are accessable through function 5 only. function 5 i/o base 2 registers ? midi / game port offset fm nmi status re g isters default acc 1-0 midi port base 0330 rw 3-2 game port base 0200 rw the above registers are accessable through function 5 only. func 6 i/o base 0 regs ? modem scatter gather dma offset mc97 sgd i/o re g isters default acc 0 sgd modem read channel status 00 wc 1 sgd modem read channel control 00 rw 2 sgd modem read channel type 00 rw 3 -reserved- 00 ? 7-4 sgd modem read ch table ptr base sgd modem read ch current addr 0000 0000 wr rd 8-b -reserved- 00 ? f-c sgd modem read ch current count 0000 0000 ro 10 sgd modem write channel status 00 wc 11 sgd modem write channel control 00 rw 12 sgd modem write channel type 00 rw 13 -reserved- 00 ? 17-14 sgd modem wr ch table ptr base sgd modem wr ch current address 0000 0000 wr rd 18-1b -reserved- 00 ? 1f-1c sgd modem write ch current count 0000 0000 ro offset modem codec i/o registers default acc 23-20 modem codec command / status 0000 0000 rw 24-2f -reserved- 00 ? 33-30 codec gpi interrupt status / gpio 0000 0000 wc 37-34 codec gpi interrupt enable 0000 0000 rw 38-ff reserved 00 ? the above registers are accessable through function 6 only.
VT8231 preliminary revision 0.8 october 29, 1999 -40- register overview 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o registers ? soundblaster pro offset sb pro registers (220 or 240h typ) default acc 0 fm left channel index / status rw 1 fm left channel data wo 2 fm right channel index / status rw 3 fm right channel data wo 4mixer index wo 5 mixer data rw 6 sound processor reset wo 7 -reserved- 00 -- 8 fm index / status (both channels) rw 9 fm data (both channels) wo a sound processor data ro b -reserved- 00 -- c sound processor command / data sound processor buffer status wr rd d -reserved- 00 -- e snd processor data available status ro f -reserved- 00 -- port sb pro re g s (same as offsets 8 & 9) default acc 388h fm index / status rw 389h fm data wo the above group of registers emulates the ? fm ? , ? mixer ? , and ? sound processor ? functions of the soundblaster pro. i/o registers ? game port offset game port (200-20f typical) default acc 0 -reserved- 00 -- 1 game port status ro 1start one-shot wo 2-f -reserved- 00 --
VT8231 preliminary revision 0.8 october 29, 1999 - 41- register descriptions - legacy i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw register descriptions legacy i/o ports this group of registers includes the dma controllers, interrupt controllers, and timer/counters as well as a number of miscellaneous ports originally implemented using discrete logic on original pc/at motherboards. all of the registers listed are integrated on-chip. these registers are implemented in a precise manner for backwards compatibility with previous generations of pc hardware. these registers are listed for information purposes only. detailed descriptions of the actions and programming of these registers are included in numerous industry publications (duplication of that information here is beyond the scope of this document). all of these registers reside in i/o space. port 61 - misc functions & speaker control ................. rw 7 reserved ........................................always reads 0 6 iochck# active .................................................ro this bit is set when the isa bus iochck# signal is asserted. once set, this bit may be cleared by setting bit-3 of this register. bit-3 should be cleared to enable recording of the next iochck#. iochck# generates nmi to the cpu if nmi is enabled. 5 timer/counter 2 output ......................................ro this bit reflects the output of timer/counter 2 without any synchronization. 4 refresh detected ...................................................ro this bit toggles on every rising edge of the isa bus refresh# signal. 3 iochck# disable ...............................................rw 0 enable iochck# assertions ................. default 1 force iochck# inactive and clear any ? iochck# active ? condition in bit-6 2 reserved ........................................rw, default=0 1 speaker enable ....................................................rw 0 disable................................................... default 1 enable timer/ctr 2 output to drive spkr pin 0 timer/counter 2 enable .....................................rw 0 disable................................................... default 1 enable timer/counter 2 port 92h - system control ................................................ rw 7-6 hard disk activity led status 0 off .................................................... default 1-3 on 5-4 reserved ........................................always reads 0 3 power-on password bytes inaccessable ..default=0 2 reserved ........................................always reads 0 1 a20 address line enable 0 a20 disabled / forced 0 (real mode) ...... default 1 a20 address line enabled 0 high speed reset 0normal 1 briefly pulse system reset to switch from protected mode to real mode
VT8231 preliminary revision 0.8 october 29, 1999 - 42- register descriptions - legacy i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw keyboard controller registers the keyboard controller handles the keyboard and mouse interfaces. two ports are used: port 60 and port 64. reads from port 64 return a status byte. writes to port 64h are command codes (see command code list following the register descriptions). input and output data is transferred via port 60. a ? control ? register is also available. it is accessable by writing commands 20h / 60h to the command port (port 64h); the control byte is written by first sending 60h to the command port, then sending the control byte value. the control register may be read by sending a command of 20h to port 64h, waiting for ? output buffer full ? status = 1, then reading the control byte value from port 60h. traditional (non-integrated) keyboard controllers have an ? input port ? and an ? output port ? with specific pins dedicated to certain functions and other pins available for general purpose i/o. specific commands are provided to set these pins high and low. all outputs are ? open-collector ? so to allow input on one of these pins, the output value for that pin would be set high (non-driving) and the desired input value read on the input port. these ports are defined as follows: bit input port lo code hi code 0 p10 - keyboard data in b0 b8 1 p11 - mouse data in b1 b9 2 p12 - turbo pin (ps/2 mode only) b2 ba 3 p13 - user-defined b3 bb 4 p14 - user-defined b6 be 5 p15 - user-defined b7 bf 6 p16 - user-defined ?? 7 p17 - undefined ?? bit output port lo code hi code 0 p20 - sysrst (1=execute reset) ?? 1 p21 - gatea20 (1=a20 enabled) ?? 2 p22 - mouse data out b4 bc 3 p23 - mouse clock out b5 bd 4 p24 - keyboard obf interrupt (irq1) ?? 5 p25 - mouse obf interrupt (irq 12) ?? 6 p26 - keyboard clock out ?? 7 p27 - keyboard data out ?? bit test port lo code hi code 0 t0 - keyboard clock in ?? 1 t1 - mouse clock in ?? note: command code c0h transfers input port data to the output buffer. command code d0h copies output port values to the output buffer. command code e0h transfers test input port data to the output buffer. port 60 - keyboard controller input buffer ................. wo only write to port 60h if port 64h bit-1 = 0 (1=full). port 60 - keyboard controller output buffer ................ ro only read from port 60h if port 64h bit-0 = 1 (0=empty). port 64 - keyboard / mouse status .................................. ro 7 parity error 0 no parity error (odd parity received)..... default 1 even parity occurred on last byte received from keyboard / mouse 6 general receive / transmit timeout 0 no error ................................................. default 1 error 5 mouse output buffer full 0 mouse output buffer empty.................... default 1 mouse output buffer holds mouse data 4 keylock status 0locked 1free 3 command / data 0 last write was data write ....................... default 1 last write was command write 2 system flag 0 power-on default .................................. default 1 self test successful 1 input buffer full 0 input buffer empty................................ default 1 input buffer full 0 keyboard output buffer full 0 keyboard output buffer empty............. default 1 keyboard output buffer full kbc control register .......... (r/w via commands 20h/60h) 7 reserved ........................................always reads 0 6 pc compatibility 0 disable scan conversion 1 convert scan codes to pc format; convert 2- byte break sequences to 1-byte pc-compatible break codes ............................................ default 5 mouse disable 0 enable mouse interface ......................... default 1 disable mouse interface 4 keyboard disable 0 enable keyboard interface .................... default 1 disable keyboard interface 3 keyboard lock disable 0 enable keyboard inhibit function......... default 1 disable keyboard inhibit function 2 system flag ................................................default=0 this bit may be read back as status register bit-2 1 mouse interrupt enable 0 disable mouse interrupts ....................... default 1 generate interrupt on irq12 when mouse data comes in output bufer 0 keyboard interrupt enable 0 disable keyboard interrupts.................. default 1 generate interrupt on irq1 when output buffer has been written.
VT8231 preliminary revision 0.8 october 29, 1999 - 43- register descriptions - legacy i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw port 64 - keyboard / mouse command .......................... wo this port is used to send commands to the keyboard / mouse controller. the command codes recognized by the VT8231 are listed n the table below. note: the VT8231 keyboard controller is compatible with the via vt82c42 industry-standard keyboard controller except that due to its integrated nature, many of the input and output port pins are not available externally for use as general purpose i/o pins (even though p13-p16 are set on power-up as strapping options). in other words, many of the commands below are provided and ? work ? , but otherwise perform no useful function (e.g., commands that set p12-p17 high or low). also note that setting p10-11, p22-23, p26-27, and t0-1 high or low directly serves no useful purpose, since these bits are used to implement the keyboard and mouse ports and are directly controlled by keyboard controller logic. table 4. keyboard controller command codes code keyboard command code description 20h read control byte (next byte is control byte) 21-3fh read sram data (next byte is data byte) 60h write control byte (next byte is control byte) 61-7fh write sram data (next byte is data byte) 9xh write low nibble (bits 0-3) to p10-p13 a1h output keyboard controller version # a4h test if password is installed (always returns f1h to indicate not installed) a7h disable mouse interface a8h enable mouse interface a9h mouse interface test (puts test results in port 60h) (value: 0=ok, 1=clk stuck low, 2=clk stuck high, 3=data stuck lo, 4=data stuck hi, ff=general error) aah kbc self test (returns 55h if ok, fch if not) abh keyboard interface test (see a9h mouse test) adh disable keyboard interface aeh enable keyboard interface afh return version # b0h set p10 low b1h set p11 low b2h set p12 low b3h set p13 low b4h set p22 low b5h set p23 low b6h set p14 low b7h set p15 low b8h set p10 high b9h set p11 high bah set p12 high bbh set p13 high bch set p22 high bdh set p23 high beh set p14 high bfh set p15 high code keyboard command code description c0h read input port (read p10-17 input data to the output buffer) c1h poll input port low (read input data on p11-13 repeatably & put in bits 5-7 of status c2h poll input port high (same except p15-17) c8h unblock p22-23 (use before d1 to change active mode) c9h reblock p22-23 (protection mechanism for d1) cah read mode (output kbc mode info to port 60 output buffer (bit-0=0 if isa, 1 if ps/2) d0h read output port (copy p10-17 output port values to port 60) d1h write output port (data byte following is written to keyboard output port as if it came from keyboard) d2h write keyboard output buffer & clear status bit-5 (write following byte to keyboard) d3h write mouse output buffer & set status bit-5 (write following byte to mouse; put value in mouse input buffer so it appears to have come from the mouse) d4h write mouse (write following byte to mouse) e0h read test inputs (t0-1 read to bits 0-1 of resp byte) exh set p23-p21 per command bits 3-1 fxh pulse p23-p20 low for 6usec per command bits 3-0 all other codes not listed are undefined.
VT8231 preliminary revision 0.8 october 29, 1999 - 44- register descriptions - legacy i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw dma controller i/o registers ports 00-0f - master dma controller channels 0-3 of the master dma controller control system dma channels 0-3. there are 16 master dma controller registers: i/o address bits 15-0 register name 0000 0000 000x 0000 ch 0 base / current address rw 0000 0000 000x 0001 ch 0 base / current count rw 0000 0000 000x 0010 ch 1 base / current address rw 0000 0000 000x 0011 ch 1 base / current count rw 0000 0000 000x 0100 ch 2 base / current address rw 0000 0000 000x 0101 ch 2 base / current count rw 0000 0000 000x 0110 ch 3 base / current address rw 0000 0000 000x 0111 ch 3 base / current count rw 0000 0000 000x 1000 status / command rw 0000 0000 000x 1001 write request wo 0000 0000 000x 1010 write single mask wo 0000 0000 000x 1011 write mode wo 0000 0000 000x 1100 clear byte pointer f/f wo 0000 0000 000x 1101 master clear wo 0000 0000 000x 1110 clear mask wo 0000 0000 000x 1111 r/w all mask bits rw ports c0-df - slave dma controller channels 0-3 of the slave dma controller control system dma channels 4-7. there are 16 slave dma controller registers: i/o address bits 15-0 register name 0000 0000 1100 000x ch 4 base / current address rw 0000 0000 1100 001x ch 4 base / current count rw 0000 0000 1100 010x ch 5 base / current address rw 0000 0000 1100 011x ch 5 base / current count rw 0000 0000 1100 100x ch 6 base / current address rw 0000 0000 1100 101x ch 6 base / current count rw 0000 0000 1100 110x ch 7 base / current address rw 0000 0000 1100 111x ch 7 base / current count rw 0000 0000 1101 000x status / command rw 0000 0000 1101 001x write request wo 0000 0000 1101 010x write single mask wo 0000 0000 1101 011x write mode wo 0000 0000 1101 100x clear byte pointer f/f wo 0000 0000 1101 101x master clear wo 0000 0000 1101 110x clear mask wo 0000 0000 1101 111x read/write all mask bits wo note that not all bits of the address are decoded. the master and slave dma controllers are compatible with the intel 8237 dma controller chip. detailed description of 8237 dma controller operation can be obtained from the intel peripheral components data book and numerous other industry publications. ports 80-8f - dma page registers there are eight dma page registers, one for each dma channel. these registers provide bits 16-23 of the 24-bit address for each dma channel (bits 0-15 are stored in registers in the master and slave dma controllers). they are located at the following i/o port addresses: i/o address bits 15-0 register name 0000 0000 1000 0111 channel 0 dma page (m-0)......... rw 0000 0000 1000 0011 channel 1 dma page (m-1)......... rw 0000 0000 1000 0001 channel 2 dma page (m-2)......... rw 0000 0000 1000 0010 channel 3 dma page (m-3)......... rw 0000 0000 1000 1111 channel 4 dma page (s-0) .......... rw 0000 0000 1000 1011 channel 5 dma page (s-1) .......... rw 0000 0000 1000 1001 channel 6 dma page (s-2) .......... rw 0000 0000 1000 1010 channel 7 dma page (s-3) ......... rw dma controller shadow registers the dma controller shadow registers are enabled by setting function 0 rx77 bit 0. if the shadow registers are enabled, they are read back at the indicated i/o port instead of the standard dma controller registers (writes are unchanged). port 0 ? channel 0 base address ...................................... ro port 1 ? channel 0 byte count .......................................... ro port 2 ? channel 1 base address ...................................... ro port 3 ? channel 1 byte count .......................................... ro port 4 ? channel 2 base address ...................................... ro port 5 ? channel 2 byte count .......................................... ro port 6 ? channel 3 base address ...................................... ro port 7 ? channel 3 byte count .......................................... ro port 8 ? 1 st read channel 0-3 command register .......... ro port 8 ? 2 nd read channel 0-3 request register.............. ro port 8 ? 3 rd read channel 0 mode register ..................... ro port 8 ? 4 th read channel 1 mode register ..................... ro port 8 ? 5 th read channel 2 mode register ..................... ro port 8 ? 6 th read channel 3 mode register ..................... ro port f ? channel 0-3 read all mask ................................ ro port c4 ? channel 5 base address.................................... ro port c6 ? channel 5 byte count ....................................... ro port c8 ? channel 6 base address.................................... ro port ca ? channel 6 byte count ...................................... ro port cc ? channel 7 base address ................................... ro port ce ? channel 7 byte count ...................................... ro port d0 ? 1 st read channel 4-7 command register ........ ro port d0 ? 2 nd read channel 4-7 request register ........... ro port d0 ? 3 rd read channel 4 mode register .................. ro port d0 ? 4 th read channel 5 mode register .................. ro port d0 ? 5 th read channel 6 mode register .................. ro port d0 ? 6 th read channel 7 mode register .................. ro port de ? channel 4-7 read all mask ............................. ro
VT8231 preliminary revision 0.8 october 29, 1999 - 45- register descriptions - legacy i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw interrupt controller registers ports 20-21 - master interrupt controller the master interrupt controller controls system interrupt channels 0-7. two registers control the master interrupt controller. they are: i/o address bits 15-0 register name 0000 0000 001x xxx0 master interrupt control rw 0000 0000 001x xxx1 master interrupt mask rw note that not all bits of the address are decoded. the master interrupt controller is compatible with the intel 8259 interrupt controller chip. detailed descriptions of 8259 interrupt controller operation can be obtained from the intel peripheral components data book and numerous other industry publications. ports a0-a1 - slave interrupt controller the slave interrupt controller controls system interrupt channels 8-15. the slave system interrupt controller also occupies two register locations: i/o address bits 15-0 register name 0000 0000 101x xxx0 slave interrupt control rw 0000 0000 101x xxx1 slave interrupt mask rw note that not all address bits are decoded. the slave interrupt controller is compatible with the intel 8259 interrupt controller chip. detailed descriptions of 8259 interrupt controller operation can be obtained from the intel peripheral components data book and numerous other industry publications. interrupt controller shadow registers the following shadow registers are enabled by setting function 0 rx47[4]. if the shadow registers are enabled, they are read back at the indicated i/o port instead of the standard interrupt controller registers (writes are unchanged). port 20 - master interrupt control shadow ................... ro port a0 - slave interrupt control shadow ..................... ro 7 reserved ........................................always reads 0 6 ocw3 bit 2 (poll) 5 ocw3 bit 0 (ris) 4 ocw3 bit 5 (smm) 3 ocw2 bit 7 (r) 2 icw4 bit 4 (sfnm) 1 icw4 bit 1 (aeoi) 0 icw1 bit 3 (ltim) port 21 - master interrupt mask shadow ....................... ro port a1 - slave interrupt mask shadow ........................ ro 7-5 reserved ........................................always reads 0 4-0 t7-t3 of interrupt vector address timer / counter registers ports 40-43 - timer / counter registers there are 4 timer / counter registers: i/o address bits 15-0 register name 0000 0000 010x xx00 timer / counter 0 count rw 0000 0000 010x xx01 timer / counter 1 count rw 0000 0000 010x xx10 timer / counter 2 count rw 0000 0000 010x xx11 timer / counter cmd mode wo note that not all bits of the address are decoded. the timer / counters are compatible with the intel 8254 timer / counter chip. detailed descriptions of 8254 timer / counter operation can be obtained from the intel peripheral components data book and numerous other industry publications. timer / counter shadow registers the following shadow registers are enabled for readback by setting function 0 rx47[4]. if the shadow registers are enabled, they are read back at the indicated i/o port instead of the standard timer / counter registers (writes are unchanged). port 40 ? counter 0 base count value (lsb 1 st msb 2 nd ) ro port 41 ? counter 1 base count value (lsb 1 st msb 2 nd ) ro port 42 ? counter 2 base count value (lsb 1 st msb 2 nd ) ro
VT8231 preliminary revision 0.8 october 29, 1999 - 46- register descriptions - legacy i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw cmos / rtc registers port 70 - cmos address .................................................. rw 7nmi disable ......................................................... rw 0 enable nmi generation. nmi is asserted on encountering iochck# on the isa bus or serr# on the pci bus. 1 disable nmi generation ........................default 6-0 cmos address (lower 128 bytes)....................... rw port 71 - cmos data........................................................ rw 7-0 cmos data (128 bytes) note: ports 70-71 may be accessed if rx5a bit-2 is set to one to select the internal rtc. if rx5a bit-2 is set to zero, accesses to ports 70-71 will be directed to an external rtc. port 72 - cmos address .................................................. rw 7-0 cmos address (256 bytes)................................. rw port 73 - cmos data........................................................ rw 7-0 cmos data (256 bytes) note: ports 72-73 may be accessed if rx5a bit-2 is set to one to select the internal rtc. if rx5a bit-2 is set to zero, accesses to ports 72-73 will be directed to an external rtc. port 74 - cmos address .................................................. rw 7-0 cmos address (256 bytes)................................. rw port 75 - cmos data........................................................ rw 7-0 cmos data (256 bytes) note: ports 74-75 may be accessed only if function 0 rx5b bit-1 is set to one to enable the internal rtc sram and if rx48 bit-3 (port 74/75 access enable) is set to one to enable port 74/75 access. note: ports 70-71 are compatible with pc industry- standards and may be used to access the lower 128 bytes of the 256-byte on-chip cmos ram. ports 72-73 may be used to access the full extended 256- byte space. ports 74-75 may be used to access the full on-chip extended 256-byte space in cases where the on-chip rtc is disabled. note: the system real time clock (rtc) is part of the ? cmos ? block. the rtc control registers are located at specific offsets in the cmos data area (0- 0dh and 7d-7fh). detailed descriptions of cmos / rtc operation and programming can be obtained from the via vt82887 data book or numerous other industry publications. for reference, the definition of the rtc register locations and bits are summarized in the following table: offset description binary range bcd range 00 seconds 00-3bh 00-59h 01 seconds alarm 00-3bh 00-59h 02 minutes 00-3bh 00-59h 03 minutes alarm 00-3bh 00-59h 04 hours am 12hr: 01-1ch 01-12h pm 12hr: 81-8ch 81-92h 24hr: 00-17h 00-23h 05 hours alarm am 12hr: 01-1ch 01-12h pm 12hr: 81-8ch 81-92h 24hr: 00-17h 00-23h 06 day of the week sun=1: 01-07h 01-07h 07 day of the month 01-1fh 01-31h 08 month 01-0ch 01-12h 09 year 00-63h 00-99h 0a register a 7uip update in progress 6-4 dv2-0 divide (010=ena osc & keep time) 3-0 rs3-0 rate select for periodic interrupt 0b register b 7set inhibit update transfers 6pie periodic interrupt enable 5aie alarm interrupt enable 4uie update ended interrupt enable 3sqwe no function (read/write bit) 2dm data mode (0=bcd, 1=binary) 1 24/12 hours byte format (0=12, 1=24) 0dse daylight savings enable 0c register c 7irqf interrupt request flag 6pf periodic interrupt flag 5af alarm interrupt flag 4uf update ended flag 3-0 0 unused (always read 0) 0d register d 7 vrt reads 1 if vbat voltage is ok 6-0 0 unused (always read 0) 0e-7c software-defined storage registers (111 bytes) offset extended functions binary range bcd range 7d date alarm 01-1fh 01-31h 7e month alarm 01-0ch 01-12h 7f century field 13-14h 19-20h 80-ff software-defined storage registers (128 bytes) table 5. cmos register summary
VT8231 preliminary revision 0.8 october 29, 1999 - 47- register descriptions - super-i/o i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw super-i/o configuration index / data registers super-i/o configuration registers are accessed by performing i/o operations to / from an index / data pair of registers in system i/o space at port addresses 3f0h and 3f1h. the configuration registers accessed using this mechanism are used to configure the super-i/o registers (parallel port, serial ports, ir port, and floppy controller). super i/o configuration is accomplished in three steps: 1) enter configuration mode (set function 0 rx85[1] = 1) 2) configure the chip a) write index to port 3f0 b) read / write data from / to port 3f1 c) repeat a and b for all desired registers 3) exit configuration mode (set function 0 rx85[1] = 0) port 3f0h ? super-i/o configuration index ................... rw 7-0 index value function 0 pci configuration space register rx85[1] must be set to 1 to enable access to the super-i/o configuration registers. port 3f1h ? super-i/o configuration data .................... rw 7-0 data value this register shares a port with the floppy status port (which is read only). this port is accessible only when rx85[1] is set to 1 (the floppy status port is accessed if rx85[1] = 0). super-i/o configuration registers these registers are accessed via the port 3f0 / 3f1 index / data register pair using the indicated index values below index e0 ? super-i/o device id ....................................... ro 7-0 super-i/o id ........................................ default = 3ch index e1 ? super-i/o device revision ............................. ro 7-0 super-i/o revision code .........................default = 0 index e2 ? super-i/o function select ............................ rw 7-5 reserved ........................................always reads 0 4 floppy controller enable 0 disable................................................... default 1enable 3 serial port 2 enable 0 disable................................................... default 1enable 2 serial port 1 enable 0 disable................................................... default 1enable 1-0 parallel port mode / enable 00 unidirectional mode .............................. default 01 ecp 10 epp 11 parallel port disabled index e3 ? floppy controller i/o base address ........... rw 7-2 i/o address 9-4 .........................................default = 0 1-0 must be 0 ..............................................default = 0 index e6 ? parallel port i/o base address .................... rw 7-0 i/o address 9-2 .........................................default = 0 if epp is not enabled, the parallel port can be set to 192 locations on 4-byte boundaries from 100h to 3fch. if epp is enabled, the parallel port can be set to 96 locations on 8-byte boundaries from 100h to 3f8h. index e7 ? serial port 1 i/o base address ..................... rw 7-1 i/o address 9-3 .........................................default = 0 0 must be 0 ..............................................default = 0 index e8 ? serial port 2 i/o base address ..................... rw 7-1 i/o address 9-3 .........................................default = 0 0 must be 0 ..............................................default = 0
VT8231 preliminary revision 0.8 october 29, 1999 - 48- register descriptions - super-i/o i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw index ee ? serial port configuration ............................. rw 7 serial port 2 high speed enable 0 disable ...................................................default 1enable 6 serial port 1 high speed enable 0 disable ...................................................default 1enable 5-3 serial port 2 mode 000 standard 001 irda (hipsir) 010 amplitude shift keyed ir @ 500khz 011 -reserved- 1xx -reserved- 2 serial port 2 half duplex 0 disable ...................................................default 1enable 1 serial port 2 tx output inversion 0 disable ...................................................default 1enable 0 serial port 2 rx input inversion 0 disable ...................................................default 1enable index ef ? power down control ..................................... rw 7-6 reserved ........................................ always reads 0 5 clock power down 0 normal operation ...................................default 1power down 4 parallel port power down 0 normal operation ...................................default 1power down 3 serial port 2 power down 0 normal operation ...................................default 1power down 2 serial port 1 power down 0 normal operation ...................................default 1power down 1 fdc power down 0 normal operation ...................................default 1power down 0 all power down 0 normal operation ...................................default 1power down all index f0 ? parallel port control ..................................... rw 7 ps2 type bidirectionl parallel port 0 disable................................................... default 1enable 6 epp direction by register not by iow 0 disable................................................... default 1enable 5 epp+ecp 0 disable................................................... default 1enable 4 epp version 0 version 1.9 ............................................ default 1 version 1.7 3-0 reserved ........................................always reads 0 index f1 ? serial port control ........................................ rw 7-6 reserved ........................................always reads 0 5 ir loop back 0 disable................................................... default 1enable 4 serial port 2 power-down state 0 normal................................................... default 1 tristate output in power down mode 3 serial port 1 power-down state 0 normal................................................... default 1 tristate output in power down mode 2 ir dedicated pin (irtx/irrx) select 0 irtx / irrx output from serial port 2...... def 1 function 0 rx76[5] = 0: irrx output from dedicated pin d12 irtx output from dedicated pin e12 1-0 reserved ........................................always reads 0 index f2 ? test mode (do not program) ....................... rw index f4 ? test mode (do not program) ....................... rw
VT8231 preliminary revision 0.8 october 29, 1999 - 49- register descriptions - super-i/o i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw index f6 ? floppy controller configuration .................. rw 7-6 reserved ........................................ always reads 0 5 floppy drive on parallel port 0 parallel port (spp) mode .......................default 1 fdc mode this bit is used in notebook applications to allow attachment of an external floppy drive using the parallel port i/o connector: spp mode pin type fdc mode pin type strobe# i/o - n/a pd0 i/o index# i pd1 i/o trk00# i pd2 i/o wrtprt# i pd3 i/o rdata# i pd4 i/o dskchg# i pd5 i/o - n/a pd6 i/o - n/a pd7 i/o - n/a ack# i ds1# o busy i mtr1# o pe i wdata# o slct i wgate# o autofd# i/o drven0 o error# i hdsel# o pinit# i/o dir# o slctin# i/o step# o 43-mode fdd 0 disable ...................................................default 1enable 3 reserved ........................................ always reads 0 2 four floppy drive option 0 internal 2-drive decoder .......................default 1 external 4-drive decoder 1 fdc dma non-burst 0 burst .....................................................default 1non-burst 0 fdc swap 0 disable ...................................................default 1enable index f8 ? floppy drive control .................................... rw 7-6 floppy drive 3 (see table below) 5-4 floppy drive 2 (see table below) 3-2 floppy drive 1 (see table below) 1-0 floppy drive 0 (see table below) drven1 drven0 00 drate0 densel 01 drate0 drate1 10 drate0 densel# 11 drate1 drate0
VT8231 preliminary revision 0.8 october 29, 1999 - 50- register descriptions - super-i/o i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw super-i/o i/o ports floppy disk controller registers these registers are located at i/o ports which are offsets from ? fdcbase ? (index c3h of the super-i/o configuration registers). fdcbase is typically set to allow these ports to be accessed at the standard floppy disk controller address range of 3f0-3f7h. port fdcbase+2 ? fdc command ................................. rw 7 motor 3 (unused in VT8231: no mtr3# pin) 6 motor 2 (unused in VT8231: no mtr2# pin) 5 motor 1 0 motor off 1 motor on 4 motor 0 0 motor off 1 motor on 3 dma and irq channels 0 disabled 1enabled 2 fdc reset 0 execute fdc reset 1fdc enabled 1-0 drive select 00 select drive 0 01 select drive 1 1x -reserved- port fdcbase+4 ? fdc main status ............................... ro 7 main request 0 data register not ready 1 data register ready 6 data input / output 0 cpu => fdc 1 fdc => cpu 5 non-dma mode 0 fdc in dma mode 1 fdc not in dma mode 4 fdc busy 0 fdc inactive 1 fdc active 3-2 reserved ........................................ always reads 0 1 drive 1 active 0 drive inactive 1 drive performing a positioning change 0 drive 0 active 0 drive inactive 1 drive performing a positioning change port fdcbase+4 ? fdc data rate select ...................... wo port fdcbase+5 ? fdc data .......................................... rw port fdcbase+7 ? fdc disk change status .................. ro 7 disk change 0 floppy not changed 1 floppy changed since last instruction 6-3 undefined ......................................... always read 1 2-1 data rate 00 500 kbit/sec (1.2mb 5 ? or 1.44 mb 3 ? drive) 01 300 kbit/sec (360kb 5 ? drive) 10 250 kbit/sec (720kb 3 ? drive) 11 1 mbit/sec 0 high density rate 0 500 kbit/sec or 1 mbit/sec selected 1 250 kbit/set or 300 kbit/sec selected port fdcbase+7 ? fdc configuration control ............ wo 7-2 undefined ......................................... always read 1 1-0 data rate 00 500 kbit/sec (1.2mb 5 ? or 1.44 mb 3 ? drive) 01 300 kbit/sec (360kb 5 ? drive) 10 250 kbit/sec (720kb 3 ? drive) 11 1 mbit/sec
VT8231 preliminary revision 0.8 october 29, 1999 - 51- register descriptions - super-i/o i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw parallel port registers these registers are located at i/o ports which are offsets from ? lptbase ? (index c6h of the super-i/o configuration registers). lptbase is typically set to allow these ports to be accessed at the standard parallel port address range of 378- 37fh. port lptbase+0 ? parallel port data ............................. rw 7-0 parallel port data port lptbase+1 ? parallel port status ............................ ro 7 busy# 0 printer busy, offline, or error 1 printer not busy 6 ack# 0 data transfer to printer complete 1 data transfer to printer in progress 5pe 0 paper available 1 no paper available 4slct 0 printer offline 1 printer online 3 error# 0 printer error 1printer ok 2-0 reserved ................................... always read 1 bits port lptbase+2 ? parallel port control ........................ rw 7-5 undefined ................................. always read back 1 4 hardware interrupt 0 disable ...................................................default 1enable 3 printer select 0 deselect printer ......................................default 1 select printer 2 printer initialize 0 initialize printer......................................default 1 allow printer to operate normally 1 automatic line feed 0 host handles line feeds...........................default 1 printer does automatic line feeds 0strobe 0 no data transfer ......................................default 1 transfer data to printer port lptbase+3 ? parallel port epp address............... rw port lptbase+4 ? parallel port epp data port 0 ......... rw port lptbase+5 ? parallel port epp data port 1 ......... rw port lptbase+6 ? parallel port epp data port 2 ......... rw port lptbase+7 ? parallel port epp data port 3 ......... rw port lptbase+400h ? parallel port ecp data / cfg a rw port lptbase+401h ? parallel port ecp config b ....... rw port lptbase+401h ? parallel port ecp extd ctrl ...... rw
VT8231 preliminary revision 0.8 october 29, 1999 - 52- register descriptions - super-i/o i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw serial port 1 registers these registers are located at i/o ports which are offsets from ? com1base ? (index c7h of the super-i/o configuration registers). com1base is typically set to allow these ports to be accessed at the standard serial port 1 address range of 3f8- 3ffh. port com1base+0 ? transmit / receive buffer ............ rw 7-0 serial data port com1base+1 ? interrupt enable ........................... rw 7-4 undefined ..........................................always read 0 3 interrupt on hnadshake input state change 2 intr on parity, overrun, framing error or break 1 interrupt on transmit buffer empty 0 interrupt on receive data ready port com1base+2 ? interrupt status ............................. ro 7-3 undefined ..........................................always read 0 2-1 interrupt id (0=highest priority) 00 priority 3 (handshake input changed state) 01 priority 2 (transmit buffer empty) 10 priority 1 (data received) 11 priority 0 (serialization error or break) 0 interrupt pending 0 interrupt pending 1 no interrupt pending port com1base+2 ? fifo control ............................... wo port com1base+3 ? uart control ............................... rw 7 divisor latch access 0 select transmit / receive registers 1 select divisor latch 6 break 0 break condition off 1 break condition on 5-3 parity 000 none 001 odd 011 even 101 mark 111 space 2 stop bits 01 12 1-0 data bits 00 5 01 6 10 7 11 8 port com1base+4 ? handshake control ...................... rw 7-5 undefined ......................................... always read 0 4 loopback check 0 normal operation 1 loopback enabled 3 general purpose output 2 (unused in VT8231) 2 general purpose output 1 (unused in VT8231) 1 request to send 0 disabled 1enabled 0 data terminal ready 0 disabled 1enabled port com1base+5 ? uart status ................................. rw 7 undefined ......................................... always read 0 6 transmitter empty 0 1 byte in transmit hold or transmit shift register 1 0 bytes transmit hold and transmit shift regs 5 transmit buffer empty 0 1 byte in transmit hold register 1 transmit hold register empty 4 break detected 0 no break detected 1 break detected 3 framing error detected 0 no error 1 error 2 parity error detected 0 no error 1 error 1 overrun error detected 0 no error 1 error 0 received data ready 0 no received data available 1 received data in receiver buffer register port com1base+6 ? handshake status ......................... rw 7 dcd status (1=active, 0=inactive) 6 ri status (1=active, 0=inactive) 5 dsr status (1=active, 0=inactive) 4 cts status (1=active, 0=inactive) 3 dcd changed (1=changed since last read) 2 ri changed (1=changed since last read) 1 dsr changed (1=changed since last read) 0 cts changed (1=changed since last read) port com1base+7 ? scratchpad .................................... rw 7 scratchpad data port com1base+9-8 ? baud rate generator divisor .. rw 15-0 divisor value for basud rate generator baud rate = 115,200 / divisor (e.g., setting this register to 1 selects 115.2 kbaud)
VT8231 preliminary revision 0.8 october 29, 1999 - 53- register descriptions - super-i/o i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw serial port 2 registers these registers are located at i/o ports which are offsets from ? com2base ? (index c8h of the super-i/o configuration registers). com2base is typically set to allow these ports to be accessed at the standard serial port 2 address range of 2f8- 2ffh. port com1base+0 ? transmit / receive buffer ............ rw 7-0 serial data port com1base+1 ? interrupt enable ........................... rw 7-4 undefined ..........................................always read 0 3 interrupt on hnadshake input state change 2 intr on parity, overrun, framing error or break 1 interrupt on transmit buffer empty 0 interrupt on receive data ready port com1base+2 ? interrupt status ............................. ro 7-3 undefined ..........................................always read 0 2-1 interrupt id (0=highest priority) 00 priority 3 (handshake input changed state) 01 priority 2 (transmit buffer empty) 10 priority 1 (data received) 11 priority 0 (serialization error or break) 0 interrupt pending 0 interrupt pending 1 no interrupt pending port com1base+2 ? fifo control ............................... wo port com1base+3 ? uart control ............................... rw 7 divisor latch access 0 select transmit / receive registers 1 select divisor latch 6 break 0 break condition off 1 break condition on 5-3 parity 000 none 001 odd 011 even 101 mark 111 space 2 stop bits 01 12 1-0 data bits 00 5 01 6 10 7 11 8 port com1base+4 ? handshake control ...................... rw 7-5 undefined ......................................... always read 0 4 loopback check 0 normal operation 1 loopback enabled 3 general purpose output 2 (unused in VT8231) 2 general purpose output 1 (unused in VT8231) 1 request to send 0 disabled 1enabled 0 data terminal ready 0 disabled 1enabled port com1base+5 ? uart status ................................. rw 7 undefined ......................................... always read 0 6 transmitter empty 0 1 byte in transmit hold or transmit shift register 1 0 bytes transmit hold and transmit shift regs 5 transmit buffer empty 0 1 byte in transmit hold register 1 transmit hold register empty 4 break detected 0 no break detected 1 break detected 3 framing error detected 0 no error 1 error 2 parity error detected 0 no error 1 error 1 overrun error detected 0 no error 1 error 0 received data ready 0 no received data available 1 received data in receiver buffer register port com1base+6 ? handshake status ......................... rw 7 dcd status (1=active, 0=inactive) 6 ri status (1=active, 0=inactive) 5 dsr status (1=active, 0=inactive) 4 cts status (1=active, 0=inactive) 3 dcd changed (1=changed since last read) 2 ri changed (1=changed since last read) 1 dsr changed (1=changed since last read) 0 cts changed (1=changed since last read) port com1base+7 ? scratchpad .................................... rw 7 scratchpad data port com1base+9-8 ? baud rate generator divisor .. rw 15-0 divisor value for basud rate generator baud rate = 115,200 / divisor (e.g., setting this register to 1 selects 115.2 kbaud)
VT8231 preliminary revision 0.8 october 29, 1999 - 54- register descriptions - super-i/o i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw soundblaster pro port registers these registers are located at offsets from ? sbpbase ? (defined in rx43 of audio function 5 pci configuration space). sbpbase is typically set to allow these ports to be accessed at the standard soundblaster pro port address of 220h or 240h. fm registers port sbpbase+0 ? fm left channel index / status ....... rw 7-0 fm right channel index / status port sbpbase+1 ? fm left channel data ..................... wo 7-0 right channel fm data port sbpbase+2 ? fm right channel index / status .... rw 7-0 fm right channel index / status port sbpbase+3 ? fm right channel data .................. wo 7-0 right channel fm data port 388h or sbpbase+8 ? fm index / status ................ rw 7-0 fm index / status (both channels) writing to this port programs both the left and right channels (the write programms port offsets 0 and 2 as well) port 389h or sbpbase+9 ? fm data .............................. wo 7-0 fm data (both channels) writing to this port programs both the left and right channels (the write programms port offsets 1 and 3 as well) mixer registers port sbpbase+4 ? mixer index....................................... wo 7-0 mixer index port sbpbase+5 ? mixer data ......................................... rw 7-0 mixer data sound processor registers port sbpbase+6 ? sound processor reset ..................... wo 0 1 = sound processor reset port sbpbase+a ? sound processor read data ............. ro 7-0 sound processor read data port sbpbase+c ? sound processor command / data wo 7-0 sound processor command / write data port sbpbase+c ? sound processor buffer status ......... ro 7 1 = sound processor command / data port busy port sbpbase+e ? sound processor data avail status .. ro 7 1 = sound processor data available register summary - fm index bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 01 test 02 fast counter (80 usec) 03 slow counter (320 usec) 04 irq mfc msc sssc ssfc 08 csm sel 20-35 am vib egt ksr multi 40-55 ksl total level (tl) 60-75 attack rate (ar) decay rate (dr) 80-95 sustain level (sl) release rate (rr) a0-a8 f-number b0-b8 key block f-number bd int am vib ryth bass snare tom cym hihat c0-c8 feedback fm e0-f5 ws mfc=mask fast counter ssfc=start / stop fast counter msc=mask slow counter sssc=start / stop slow counter register summary ? mixer index bit-7 bit-6 bit-5 bit-4 bit-3 bit-2 bit-1 bit-0 00 data reset 02 sp volume l sp volume r 0a mic vol 0c finp tfil select 0e fout st 22 general volume general volume 26 fm volume l fm volume r 28 cd volume l cd volume r 2e line volume l line volume r finp = input filter fout = output filter tfil = input filter type st = stereo / mono mode select = input choices (0=microphone, 1=cd, 3=line) command summary ? sound processor (see next page)
VT8231 preliminary revision 0.8 october 29, 1999 - 55- register descriptions - super-i/o i/o ports 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw command summary ? sound processor #type command 10 play 8 bits directly 14 play 8 bits via dma 91 play high-speed 8 bits via dma 16 play 2-bit compressed via dma 17 play 2-bit compressed via dma with reference 74 play 4-bit compressed via dma 75 play 4-bit compressed via dma with reference 76 play 2.6-bit compressed via dma 77 play 2.6-bit compressed via dma with reference 20 record direct 24 record via dma 99 record high-speed 8 bits via dma d1 speaker turn on speaker connection d3 speaker turn off speaker connection d8 speaker get speaker setting 40 misc set sample rate 48 misc set block length 80 misc set silence block d0 misc stop dma d4 misc continue dma e1 misc get version 30 midi direct midi input 31 midi midi input via interrupt 32 midi direct midi input with time stamp 33 midi midi input via interrupt with time stamp 34 midi direct midi uart mode 35 midi midi uart mode via interrupt 36 midi direct midi uart mode with time stamp 37 midi midi uart mode via interrupt with time stamp 38 midi send midi code game port registers these registers are fixed at the standard game port address of 201h. i/o port 201h ? game port status ................................... ro 7 joystick b button 2 status 6 joystick b button 1 status 5 joystick a button 2 status 4 joystick a button 1 status 3 joystick b one-shot status for y-potentiometer 2 joystick b one-shot status for x-potentiometer 1 joystick a one-shot status for y-potentiometer 0 joystick a one-shot status for x-potentiometer i/o port 201h ? start one-shot ....................................... wo 7-0 (value written is ignored)
VT8231 preliminary revision 0.8 october 29, 1999 - 56- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw pci configuration space i/o pci configuration space accesses for functions 0-6 use pci configuration mechanism 1 (see pci specification revision 2.2 for more details). the ports respond only to double-word accesses. byte or word accesses will be passed on unchanged. port cfb-cf8 - configuration address ......................... rw 31 configuration space enable 0 disabled .................................................default 1 convert configuration data port writes to configuration cycles on the pci bus 30-24 reserved ........................................ always reads 0 23-16 pci bus number used to choose a specific pci bus in the system 15-11 device number used to choose a specific device in the system 10-8 function number used to choose a specific function if the selected device supports multiple functions 7-2 register number used to select a specific dword in the device ? s configuration space 1-0 fixed ........................................ always reads 0 port cff-cfc - configuration data .............................. rw there are 7 ? functions ? implemented in the VT8231: function # function 0 pci to isa bridge 1 ide controller 2 usb controller ports 0-1 3 usb controller ports 2-3 4 power management, smbus & hardware monitor 5 ac97 audio codec controller 6 mc97 modem codec controller the following sections describe the registers and register bits of these functions.
VT8231 preliminary revision 0.8 october 29, 1999 - 57- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw function 0 registers - pci to isa bridge all registers are located in the function 0 pci configuration space of the VT8231. these registers are accessed through pci configuration mechanism #1 via i/o address cf8/cfc. pci configuration space header offset 1-0 - vendor id = 1106h ......................................... ro offset 3-2 - device id = 8231h .......................................... ro offset 5-4 - command ....................................................... rw 15-8 reserved ........................................ always reads 0 7 address / data stepping 0 disable 1 enable ....................................................default 6-4 reserved ........................................ always reads 0 3 special cycle enable .....normally rw ? , default = 0 2bus master ........................................ always reads 1 1 memory space .................. normally ro ? , reads as 1 0 i/o space ...................... normally ro ? , reads as 1 ? if the test bit at offset 46 bit-4 is set, access to the above indicated bits is reversed: bit-3 above becomes read only (reading back 1) and bits 0-1 above become read / write (with a default of 1). offset 7-6 - status ........................................................... rwc 15 detected parity error .................... write one to clear 14 signalled system error ...................... always reads 0 13 signalled master abort ................. write one to clear 12 received target abort .................. write one to clear 11 signalled target abort .................. write one to clear 10-9 devsel# timing .................... fixed at 01 (medium) 8 data parity detected .......................... always reads 0 7 fast back-to-back .............................. always reads 0 6-0 reserved ........................................ always reads 0 offset 8 - revision id = nn ................................................ ro 7-0 revision id offset 9 - program interface = 00h ................................... ro offset a - sub class code = 01h ....................................... ro offset b - class code = 06h ............................................... ro offset e - header type = 80h ............................................ ro 7-0 header type code ......... 80h (multifunction device) offset f - bist = 00h ......................................................... ro offset 2f-2c - subsystem id ............................................. ro use offset 70-73 to change the value returned. isa bus control offset 40 - isa bus control ............................................. rw 7 isa command delay 0 normal................................................... default 1extra 6 extended isa bus ready 0 disable................................................... default 1enable 5 isa slave wait states 0 4 wait states.......................................... default 1 5 wait states 4 chipset i/o wait states 0 2 wait states.......................................... default 1 4 wait states 3 i/o recovery time 0 disable................................................... default 1enable 2 extend-ale 0 disable................................................... default 1enable 1rom wait states 0 1 wait state ........................................... default 1 0 wait states 0rom write 0 disable................................................... default 1enable offset 41 - isa test mode ................................................ rw 7 bus refresh arbitration (do not program) default=0 6 xrdy test mode (do not program) ...........default=0 5 port 92 fast reset 0 disable................................................... default 1enable 4 a20g emulation (do not program) .............default=0 3 double dma clock 0 disable (dma clock = ? isa clock)... default 1 enable (dma clock = isa clock) 2 shold lock during inta (do not program) def=0 1 refresh request test mode (do not program).def=0 0 isa refresh 0 disable................................................... default 1enable this bit should be set to 1 for isa compatibility.
VT8231 preliminary revision 0.8 october 29, 1999 - 58- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 42 - isa clock control. ......................................... rw 7 latch io16# 0 enable (recommended setting) ...............default 1 disable 6 mcs16# output 0 disable ...................................................default 1enable 5 master request test mode (do not program) 0 disable ...................................................default 1enable 4 reserved (do not program) ................... default = 0 3 isa clock (bclk) select enable 0 bclk = pciclk/4................................default 1 bclk selected per bits 2-0 2-0 isa bus clock select (if bit-3 = 1) 000 bclk = pciclk/3................................default 001 bclk = pciclk/2 010 bclk = pciclk/4 011 bclk = pciclk/6 100 bclk = pciclk/5 101 bclk = pciclk/10 110 bclk = pciclk/12 111 bclk = osc note: procedure for isa clock switching: 1) set bit 3 to 0; 2) change value of bit 2-0; 3) set bit 3 to 1 offset 43 - rom decode control .................................... rw setting these bits enables the indicated address range to be included in the romcs# decode: 7 fffe0000h-fffeffffh ..........................default=0 6 fff80000h-fffdffffh ..........................default=0 5 fff00000h-fff7ffffh ............................default=0 4 000e0000h-000effffh .............................default=0 3 000d8000h-000dffffh ............................default=0 2 000d0000h-000d7fffh ............................default=0 1 000c8000h-000cffffh ............................default=0 0 000c0000h-000c7fffh .............................default=0 offset 44 - keyboard controller control ....................... rw 7 kbc timeout test (do not program)........default = 0 6-4 reserved (do not program) ........................default = 0 3 mouse lock enable 0 disable................................................... default 1enable 2-1 reserved (do not program) ........................default = 0 0 reserved (no function) ..............................default = 0 offset 45 - type f dma control .................................... rw 7 isa master / dma to pci line buffer 0 disable................................................... default 1enable 6 dma type f timing on channel 7 ............default=0 5 dma type f timing on channel 6 ............default=0 4 dma type f timing on channel 5 ............default=0 3 dma type f timing on channel 3 ............default=0 2 dma type f timing on channel 2 ............default=0 1 dma type f timing on channel 1 ............default=0 0 dma type f timing on channel 0 ............default=0
VT8231 preliminary revision 0.8 october 29, 1999 - 59- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 46 - miscellaneous control 1 ................................. rw 7 pci master write wait states 0 0 wait states ..........................................default 1 1 wait state 6gate intr 0 disable ...................................................default 1enable 5 flush line buffer for int or dma ior cycle 0 disable ...................................................default 1enable 4 config command reg rx04 access (test only) 0 normal: bits 0-1=ro, bit 3=rw..........default 1 test mode: bits 0-1=rw, bit-3=ro 3 reserved (do not program)........................ default = 0 2 reserved (no function).............................. default = 0 1 pci burst read interruptability 0 allow burst reads to be interrupted by isa master or dma.......................................default 1don ? t allow pci burst reads to be interrupted 0 posted memory write enable 0 disable ...................................................default 1enable the posted memory write function is automatically enabled when delay transaction (see rx47 bit-6) is enabled, independent of the state of this bit. offset 47 - miscellaneous control 2 ................................ rw 7 cpu reset source 0 use cpurst as cpu reset .................. default 1 use init as cpu reset 6 pci delay transaction enable 0 disable................................................... default 1enable the "posted memory write" function is automatically enabled when this bit is enabled, independent of the state of rx46 bit-0. 5 eisa 4d0/4d1 port enable 0 disable (ignore ports 4d0-1) ................. default 1 enable (ports 4d0-1 per eisa specification) 4 interrupt controller shadow register enable 0 disable................................................... default 1 enable (for test purposes, enable readback of interrupt controller internal functions on i/o reads from ports 20-21, a0-a1, a8-a9, and c8-c9) (contact via test engineering department) 3 reserved (always program to 0) ..............default = 0 note: always mask this bit. this bit may read back as either 0 or 1 but must always be programmed with 0. 2 write delay transaction time-out timer 0 disable................................................... default 1enable 1 read delay transaction time-out timer 0 disable................................................... default 1enable 0 software pci reset ......write 1 to generate pci reset
VT8231 preliminary revision 0.8 october 29, 1999 - 60- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 48 - miscellaneous control 3 ................................. rw 7-4 reserved ........................................ always reads 0 3 extra rtc port 74/75 enable 0 disable ...................................................default 1enable 2 integrated usb controller disable 0 enable.....................................................default 1 disable 1 integrated ide controller disable 0 enable.....................................................default 1 disable 0 512k pci memory decode 0 use rx4e[15-12] to select top of pci memory 1 use contents of rx4e[15-12] plus 512k as top of pci memory .......................................default offset 4a - ide interrupt routing .................................. rw 7 wait for pgnt before grant to isa master / dma 0 disable ...................................................default 1enable 6 bus select for access to i/o devices below 100h 0 access ports 00-ffh via xd bus............default 1 access ports 00-ffh via sd bus (applies to external devices only; internal devices such as the mouse controller are not effected) 5-4 reserved (do not program) ..................... default = 0 3-2 ide second channel irq routing 00 irq14 01 irq15.....................................................default 10 irq10 11 irq11 1-0 ide primary channel irq routing 00 irq14.....................................................default 01 irq15 10 irq10 11 irq11 4c - isa dma/master memory access control 1 ........ rw 7-0 pci memory hole bottom address these bits correspond to ha[23:16] ............default=0 4d - isa dma/master memory access control 2 ........ rw 7-0 pci memory hole top address (ha[23:16]) these bits correspond to ha[23:16] ............default=0 note: access to the memory defined in the pci memory hole will not be forwarded to pci. this function is disabled if the top address is less than or equal to the bottom address. 4f-4e - isa dma/master memory access control 3 ... rw 15-12 top of pci memory for isa dma/master accesses 0000 1m .................................................... default 0001 2m ... ... 1111 16m note: all isa dma / masters that access addresses higher than the top of pci memory will not be directed to the pci bus. 11 forward e0000-effff accesses to pci ........def=0 10 forward a0000-bffff accesses to pci .......def=0 9 forward 80000-9ffff accesses to pci ........def=1 8 forward 00000-7ffff accesses to pci ........def=1 7 forward dc000-dffff accesses to pci ......def=0 6 forward d8000-dbfff accesses to pci ......def=0 5 forward d4000-d7fff accesses to pci .......def=0 4 forward d0000-d3fff accesses to pci .......def=0 3 forward cc000-cffff accesses to pci .....def=0 2 forward c8000-cbfff accesses to pci ......def=0 1 forward c4000-c7fff accesses to pci .......def=0 0 forward c0000-c3fff accesses to pci .......def=0
VT8231 preliminary revision 0.8 october 29, 1999 - 61- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw plug and play control offset 50 ? pnp dma request control .......................... rw 7-4 reserved .............................................. default = 0 3-2 pnp routing for parallel port drq .....def = drq3 1-0 pnp routing for floppy drq ...............def = drq2 drq mapping: 00=drq0, 01=drq1, 10=drq2, 11=drq3 offset 51 - pnp irq routing 1 ........................................ rw 7-4 pnp routing for parallel port irq (see pnp irq routing table) 3-0 pnp routing for floppy irq (see pnp irq routing table) offset 52 - pnp irq routing 2 ........................................ rw 7-4 pnp routing for serial port 2 irq (see pnp irq routing table) 3-0 pnp routing for serial port 1 irq (see pnp irq routing table) offset 54 - pci irq edge / level select .......................... rw 7-4 reserved ........................................ always reads 0 the following bits all default to ? level ? triggered (0) 3 pirqa# invert (edge) / non-invert (level) .......(1/0) 2 pirqb# invert (edge) / non-invert (level) .......(1/0) 1 pirqc# invert (edge) / non-invert (level) .......(1/0) 0 pirqd# invert (edge) / non-invert (level) .......(1/0) note: pirqa-d# normally connect to pci interrupt pins inta-d# (see pin definitions for more information). offset 55 - pnp irq routing 4 ........................................ rw 7-4 pirqa# routing (see pnp irq routing table) 3-0 reserved ........................................ always reads 0 offset 56 - pnp irq routing 5 ........................................ rw 7-4 pirqc# routing (see pnp irq routing table) 3-0 pirqb# routing (see pnp irq routing table) offset 57 - pnp irq routing 6 ........................................ rw 7-4 pirqd# routing (see pnp irq routing table) 3-0 reserved ........................................ always reads 0 pnp irq routing table 0000 disabled................................................. default 0001 irq1 0010 reserved 0011 irq3 0100 irq4 0101 irq5 0110 irq6 0111 irq7 1000 reserved 1001 irq9 1010 irq10 1011 irq11 1100 irq12 1101 reserved 1110 irq14 1111 irq15
VT8231 preliminary revision 0.8 october 29, 1999 - 62- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 59 ? pcs0# control ............................................... rw 7-4 reserved ........................................ always reads 0 3 pcs0# pin function (pin t5) 0 pin is defined as pcs0# ........................default 1 pin is defined as internal trap i/o 2-0 reserved ........................................ always reads 0 offset 5a ? kbc / rtc control ...................................... rw bits 7-4 of this register are latched from pins sd7-4 at power- up but are read/write accessible so may be changed after power-up to change the default strap setting: 7 keyboard rp16 ............................. latched from sd7 6 keyboard rp15 ............................ latched from sd6 5 keyboard rp14 ............................ latched from sd5 4 keyboard rp13 ............................ latched from sd4 3 audio function enable ....... ro, strapped from spkr pin v5 0 disable (sdd pins function as sdd) 1 enable (sdd pins function as audio / game) 2 internal rtc enable 0 disable 1 enable ....................................................default 1 internal ps2 mouse enable 0 disable ..................................................default 1enable 0 internal kbc enable 0 disable ..................................................default 1enable note: external strap option values may be set by connecting the indicated external pin to a 4.7k ohm pullup (for 1) or driving it low during reset with a 7407 ttl open collector buffer (for 0) as shown in the suggested circuit below: 9&& . 6'q 5(6(7  9&& figure 5. strap option circuit offset 5b - internal rtc test mode .............................. rw 7-4 reserved ........................................always reads 0 3 map rtc rx32 to rx3f 0 disable................................................... default 1enable 2 rtc reset enable (do not program) 0 disable................................................... default 1enable 1 rtc sram access enable 0 disable................................................... default 1enable this bit is set if the internal rtc is disabled but it is desired to still be able to access the internal rtc sram via ports 74-75. if the internal rtc is enabled, setting this bit does nothing (the internal rtc sram should be accessed at either ports 70/71 or 72/73. 0 rtc test mode enable (do not program) .default=0 offset 5c - dma control ................................................. rw 7 pcs0# & pcs1# 16-bit i/o 0 disable................................................... default 1enable 6 passive release 0 disable................................................... default 1enable 5 internal passive release 0 disable................................................... default 1enable 4 dummy preq 0 disable................................................... default 1enable 3 reserved ........................................always reads 0 2 apic connection 0 apic on sd bus.................................... default 1 apic on xd bus 1 reserved (do not program) ....................default = 0 0 dma line buffer disable 0 dma cycles can be to/from line buffer ....... def 1 disable dma line buffer
VT8231 preliminary revision 0.8 october 29, 1999 - 63- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw distributed dma / serial irq control offset 61-60 - distributed dma ch 0 base / enable ...... rw 15-4 channel 0 base address bits 15-4 .......... default = 0 3 channel 0 enable 0 disable ...................................................default 1enable 2-0 reserved ........................................ always reads 0 offset 63-62 - distributed dma ch 1 base / enable ...... rw 15-4 channel 1 base address bits 15-4 .......... default = 0 3 channel 1 enable 0 disable ...................................................default 1enable 2-0 reserved ........................................ always reads 0 offset 65-64 - distributed dma ch 2 base / enable ...... rw 15-4 channel 2 base address bits 15-4 .......... default = 0 3 channel 2 enable 0 disable ...................................................default 1enable 2-0 reserved ........................................ always reads 0 offset 67-66 - distributed dma ch 3 base / enable ...... rw 15-4 channel 3 base address bits 15-4 .......... default = 0 3 channel 3 enable 0 disable ...................................................default 1enable 2-0 reserved ........................................ always reads 0 offset 69-68 ? serial irq control ................................... rw 15-4 reserved ........................................ always reads 0 3 isa irq asserted via serial irq (pin h3 or l4) 0 disable ...................................................default 1enable 2 serial irq mode 0 continuous mode ...................................default 1 quiet mode 1-0 serial irq start-frame width 00 4 pci clocks ..........................................default 01 6 pci clocks 10 8 pci clocks 11 10 pci clocks the frame size is fixed at 21 pci clocks. offset 6b-6a - distributed dma ch 5 base / enable .... rw 15-4 channel 5 base address bits 15-4 ...........default = 0 3 channel 5 enable 0 disable................................................... default 1enable 2-0 reserved ........................................always reads 0 offset 6d-6c - distributed dma ch 6 base / enable ... rw 15-4 channel 6 base address bits 15-4 ...........default = 0 3 channel 6 enable 0 disable................................................... default 1enable 2-0 reserved ........................................always reads 0 offset 6f-6e - distributed dma ch 7 base / enable .... rw 15-4 channel 7 base address bits 15-4 ...........default = 0 3 channel 7 enable 0 disable................................................... default 1enable 2-0 reserved ........................................always reads 0
VT8231 preliminary revision 0.8 october 29, 1999 - 64- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw miscellaneous / general purpose i/o offset 73-70 - subsystem id ............................................ wo 31-0 subsystem id / vendor id ................. always reads 0 contents may be read at offset 2c. offset 74 ? gpio control 1 .............................................. rw 7apic enable 0 disable (pin u8 is gpiod / mccs#)....default 1 enable (pin u8 is sciout#) 6serirq pin 0 serirq input from drq2 (pin h3)......default 1 serirq input from dack5# (pin l4) 5 gpiod direction (pin u8) 0 input .....................................................default 1 output (gpo11) 4 gpioc direction (pin v14) 0 input .....................................................default 1output 3 gpiob direction (pin u12) 0 input .....................................................default 1output 2 gpioa direction (pin t14) 0 input .....................................................default 1output 1 thrm enable (pin t11) 0 pme# / gpi5 (see func 4 rx48[5]) .......default 1thrm 0 gpi0 / iochck# select 0 gpi0 .....................................................default 1 iochck# offset 75 ? gpio control 2 ............................................. rw 7 gpo7 enable (pin t7) 0 pin defined as slp#............................... default 1 pin defined as gpo7 6 reserved ........................................always reads 0 5 gpo5 enable (pin v12) 0 pin defined as pcistp# ........................ default 1 pin defined as gpo5 4 gpo4 enable (pin y12) 0 pin defined as cpustp# ....................... default 1 pin defined as gpo4 3 fdc external irq / drq via dack2# / drq2 0 pin g5 is fdcirq, pin h3 is fdcdrq ..... def 1 pin g5 is dack2# or other alternate function pin h3 is drq2 or other alternate function 2 gpo25 enable (pin g5) 0 rx75[3]=0: pin g5 defined as dack2# .... def 1 pin g5 defined as gpo25 1 gpo24 enable (pin h3) 0 rx75[3]=0: ............................................ default rx68[3]=0: pin h3 defined as drq2 rx68[3]=1: pin h3 defined as serirq 1 pin h3 defined as gpo24 0 positive decode 0 subtractive decode................................ default 1 positive decode
VT8231 preliminary revision 0.8 october 29, 1999 - 65- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 76 ? gpio control 3 .............................................. rw 7 over-current (oc) input 0 disable ...................................................default 1enable 6 oc[3:0] from sd[3:0] by scan 0 disable ...................................................default 1enable 5 gpo14 / gpo15 enable (pins e12 / d12) 0 pins used for irtx and irrx ...............default 1 pins used for gpo14 and gpo15 4 mccs# pin select 0 mccs# is on pin u5..............................default 1 mccs# is on pin u8 3 mccs# function 0 disable mccs# function on u5/u8.......default 1 enable mccs# function on u5/u8 (see bit-4 for select of u5 or u8 for mccs#) 2 chas enable (pin v14) 0 pin is defined as gpioc.........................default 1 pin is defined as chas 1 gpo12 enable (pin t5) 0 pin is defined as xdir...........................default 1 pin is defined as gpo12 0 gpowe# (gpo[23-16]) enable (pin t14) 0 pin is defined as gpioa ........................default 1 pin is defined as gpowe# (rx74[2] also must be set to 1) offset 77 ? gpio control 4 control ................................ rw 7 drq / dack# pins are gpi / gpo 0 disable ...................................................default 1enable 6 game port xy pins are gpi / gpo 0 disable ...................................................default 1enable 5-4 reserved ........................................ always reads 0 3 serirq smi slot 0 disable ...................................................default 1enable 2 rtc rx32 write protect 0 disable ...................................................default 1enable 1 rtc rx0d write protect 0 disable ...................................................default 1enable 0 gpo13 enable (pin u5) 0 pin defined as soe#...............................default 1 pin defined as gpo13 offset 79-78 ? pcs0# i/o port address .......................... rw 15-0 pcs0# i/o port address [15-0] offset 7b-7a ? pcs1# i/o port address ........................ rw 15-0 pcs1# i/o port address [15-0] offset 7d-7c ? pci dma channel enable .................... rw 15-9 reserved ........................................always reads 0 8 pci dma pair a 0 disable................................................... default 1enable 7 pci dma channel 7 0 disable................................................... default 1enable 6 pci dma channel 6 0 disable................................................... default 1enable 5 pci dma channel 5 0 disable................................................... default 1enable 4 reserved ........................................always reads 0 3 pci dma channel 3 0 disable................................................... default 1enable 2 pci dma channel 2 0 disable................................................... default 1enable 1 pci dma channel 1 0 disable................................................... default 1enable 0 pci dma channel 0 0 disable................................................... default 1enable offset 7f-7e ? 32-bit dma control ............................... rw 15-3 32-bit dma high page (a31-24) registers iobase 2-1 reserved ........................................always reads 0 0 32-bit dma 0 disable................................................... default 1enable offset 80 ? programmable chip select mask ................ rw 7-4 pcs1# i/o port address mask [3-0] 3-0 pcs0# i/o port address mask [3-0]
VT8231 preliminary revision 0.8 october 29, 1999 - 66- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 81 ? isa positive decoding control 1 .................. rw 7 on-board i/o port positive decoding 0 disable ...................................................default 1enable 6 microsoft-sound system i/o port positive decoding 0 disable ...................................................default 1enable 5-4 microsoft-sound system i/o decode range 00 0530h-0537h ..........................................default 01 0604h-060bh 10 0e80-0e87h 11 0f40h-0f47h 3 apic positive decoding 0 disable ...................................................default 1enable 2 bios rom positive decoding 0 disable ...................................................default 1enable 1 reserved ........................................ always reads 0 0 pcs0 positive decoding 0 disable ...................................................default 1enable offset 82 ? isa positive decoding control 2 .................. rw 7 fdc positive decoding 0 disable ...................................................default 1enable 6 lpt positive decoding 0 disable ...................................................default 1enable 5-4 lpt decode range 00 3bch-3bfh, 7bch-7beh.......................default 01 378h-37fh, 778h-77ah 10 278h-27fh, 678h-67ah 11 -reserved- 3 game port positive decoding 0 disable ...................................................default 1enable 2 midi positive decoding 0 disable ...................................................default 1enable 1-0 midi decode range 00 300h-303h ..............................................default 01 310h-313h 10 320h-323h 11 330h-333h offset 83 ? isa positive decoding control 3 .................. rw 7 com port b positive decoding 0 disable................................................... default 1enable 6-4 com-port b decode range 000 3f8h-3ffh (com1)............................ default 001 2f8h-2ffh (com2) 010 220h-227h 011 228h-22fh 100 238h-23fh 101 2e8h-2efh (com4) 110 338h-33fh 111 3e8h-3efh (com3) 3 com port a positive decoding 0 disable................................................... default 1enable 2-0 com-port a decode range 000 3f8h-3ffh (com1)............................ default 001 2f8h-2ffh (com2) 010 220h-227h 011 228h-22fh 100 238h-23fh 101 2e8h-2efh (com4) 110 338h-33fh 111 3e8h-3efh (com3) offset 84 ? isa positive decoding control 4 .................. rw 7-4 reserved ........................................always reads 0 3 fdc decoding range 0 primary .................................................. default 1 secondary 2 sound blaster positive decoding 0 disable................................................... default 1enable 1-0 sound blaster decode range 00 220h-22fh, 230h-233h .......................... default 01 240h-24fh, 250h-253h 10 260h-26fh, 270h-273h 11 280h-28fh, 290h-293h
VT8231 preliminary revision 0.8 october 29, 1999 - 67- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 85 ? extended function enable ............................ rw 7-5 reserved ........................................ always reads 0 4 function 3 usb ports 2-3 0 enable.....................................................default 1 disable 3 function 6 modem / audio 0 enable.....................................................default 1 disable 2 function 5 audio 0 enable.....................................................default 1 disable 1 super-i/o configuration 0 disable ...................................................default 1enable 0 super-i/o 0 disable ...................................................default 1enable offset 86 ? pnp irq/drq test 1 (do not program) ... rw offset 87 ? pnp irq/drq test 2 (do not program) ... rw
VT8231 preliminary revision 0.8 october 29, 1999 - 68- function 0 registers - pci to isa bridge 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 88 ? pll test ......................................................... rw 7 pcs0# access status 6 rtc rx32 / rx7f write protect 0 disable ...................................................default 1enable 5 mc irq test (do not program) 0 disable ...................................................default 1enable 4 pll pu (do not program) 0 disable ...................................................default 1enable 3 pll test mode (do not program) 0 disable ...................................................default 1enable 2-0 pll test mode select offset 89 ? pll control ................................................... rw 7-4 reserved ........................................ always reads 0 3-2 pll pclk input delay select 1-0 pll clk66 feedback delay select offset 8a ? pcs2/3 i/o port address mask ................... rw 7-4 pcs3# i/o port address mask 3-0 3-0 pcs2# i/o port address mask 3-0 offset 8b ? pcs control .................................................. rw 7 pcs3# for internal i/o 0 disable................................................... default 1enable 6 pcs2# for internal i/o 0 disable................................................... default 1enable 5 pcs1# for internal i/o 0 disable................................................... default 1enable 4 pcs0# for internal i/o 0 disable................................................... default 1enable 3pcs3# 0 disable................................................... default 1enable 2pcs2# 0 disable................................................... default 1enable 1pcs1# 0 disable................................................... default 1enable 0pcs0# 0 disable................................................... default 1enable offset 8d-8c ? pcs2# i/o port address ........................ rw 15-0 pcs2# i/o port address offset 8f-8e ? pcs3# i/o port address ......................... rw 15-0 pcs3# i/o port address
VT8231 preliminary revision 0.8 october 29, 1999 - 69- function 1 registers - enhanced ide controller 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw function 1 registers - enhanced ide controller this enhanced ide controller interface is fully compatible with the sff 8038i v.1.0 specification. there are two sets of software accessible registers -- pci configuration registers and bus master ide i/o registers. the pci configuration registers are located in the function 1 pci configuration space of the VT8231. the bus master ide i/o registers are defined in the sff8038i v1.0 specification. pci configuration space header offset 1-0 - vendor id (1106h=via) ................................ ro offset 3-2 - device id (0571h=ide controller) ............... ro offset 5-4 - command ....................................................... rw 15-10 reserved ........................................ always reads 0 9 fast back to back cycles ....... default = 0 (disabled) 8 serr# enable ......................... default = 0 (disabled) 7 address stepping ...................... fixed at 1 (enabled) a value of 1 provides additional address decode time to ide devices. 6 parity error response ............ default = 0 (disabled) 5 vga palette snoop ....................fixed at 0 (disabled) 4 memory write & invalidate .....fixed at 0 (disabled) 3 special cycles .............................fixed at 0 (disabled) 2bus master ............................. default = 0 (disabled) s/g operation can be issued only when the ? bus master ? bit is enabled. 1 memory space ............................fixed at 0 (disabled) 0 i/o space ............................. default = 0 (disabled) when the ? i/o space ? bit is disabled, the device will not respond to any i/o addresses for both compatible and native mode. offset 7-6 - status ............................................................... ro 15 detected parity error .................................fixed at 0 14 signalled system error ...............................fixed at 0 13 received master abort ...............................fixed at 0 12 received target abort ...............................fixed at 0 11 signalled target abort ...............................fixed at 0 10-9 devsel# timing ..................default = 01 (medium) 8 data parity detected ...................................fixed at 0 7 fast back to back .......................................fixed at 1 6-0 reserved ........................................ always reads 0 offset 8 - revision id (06) ................................................. ro 0-7 revision code for ide controller logic block offset 9 - programming interface ................................... rw 7 master ide capability ........... fixed at 1 (supported) 6-4 reserved ........................................always reads 0 3 programmable indicator - secondary ...... fixed at 1 supports both modes (may be set to either mode by writing bit-2) 2 reserved ........................................always reads 0 1 programmable indicator - primary .......... fixed at 1 supports both modes (may be set to either mode by writing bit-0) 0 reserved ........................................always reads 0 compatibility mode (fixed irqs and i/o addresses): command block control block channel registers registers irq pri 1f0-1f7 3f6 14 sec 170-177 376 15 native pci mode (registers are programmable in i/o space) command block control block channel registers registers pri ba @offset 10h ba @offset 14h sec ba @offset 18h ba @offset 1ch command register blocks are 8 bytes of i/o space control registers are 4 bytes of i/o space (only byte 2 is used) offset a - sub class code (01h=ide controller) ........... ro offset b - base class code (01h=mass storage ctrlr) ... ro offset c ? cache line size (00h) ...................................... ro offset d - latency timer (default=0) ............................. rw offset e - header type (00h) ............................................ ro offset f - bist (00h) ......................................................... ro
VT8231 preliminary revision 0.8 october 29, 1999 - 70- function 1 registers - enhanced ide controller 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 13-10 - pri data / command base address.......... rw s pecifies an 8 byte i/o address space. 31-16 reserved ..........................................always read 0 15-3 port address ....................................... default=01f0h 2-0 fixed at 001b ..................................................... fixed offset 17-14 - pri control / status base address............ rw specifies a 4 byte i/o address space of which only the third byte is active (i.e., 3f6h for the default base address of 3f4h). 31-16 reserved ..........................................always read 0 15-2 port address ....................................... default=03f4h 1-0 fixed at 01b ....................................................... fixed offset 1b-18 - sec data / command base address ........ rw s pecifies an 8 byte i/o address space. 31-16 reserved ..........................................always read 0 15-3 port address ...................................... default=0170h 2-0 fixed at 001b ..................................................... fixed offset 1f-1c - sec control / status base address .......... rw specifies a 4 byte i/o address space of which only the third byte is active (i.e., 376h for the default base address of 374h). 31-16 reserved ..........................................always read 0 15-2 port address ...................................... default=0374h 1-0 fixed at 01b ....................................................... fixed offset 23-20 - bus master control regs base address .. rw specifies a 16 byte i/o address space compliant with the sff- 8038 i rev 1.0 specification. 31-16 reserved ..........................................always read 0 15-4 port address ....................................... default=cc0h 3-0 fixed at 0001b .................................................. fixed offset 34 - capability pointer (c0h) ................................ ro offset 3c - interrupt line (0eh) ...................................... ro offset 3d - interrupt pin (00h) ......................................... ro 7-0 interrupt routing mode 00h legacy mode interrupt routing............... default 01h native mode interrupt routing offset 3e - min gnt (00h) ................................................. ro offset 3f - max latency (00h).......................................... ro
VT8231 preliminary revision 0.8 october 29, 1999 - 71- function 1 registers - enhanced ide controller 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw ide-controller-specific confiiguration registers offset 40 - chip enable ..................................................... rw 7-4 reserved ........................................ always reads 0 3-2 reserved (do not program) ...........r/w, default = 0 1 primary channel enable ........ default = 0 (disabled) 0 secondary channel enable .... default = 0 (disabled) offset 41 - ide configuration .......................................... rw 7 primary ide read prefetch buffer 0 disable ...................................................default 1enable 6 primary ide post write buffer 0 disable ...................................................default 1enable 5 secondary ide read prefetch buffer 0 disable ...................................................default 1enable 4 secondary ide post write buffer 0 disable ...................................................default 1enable 3 reserved ........................................ always reads 0 2 reserved (do not change) ........................ default=1 1 reserved (do not change) ........................ default=1 0 reserved ........................................ always reads 0 offset 42 - reserved (do not program) .......................... rw offset 43 - fifo configuration ....................................... rw 7-4 reserved ........................................always reads 0 3-2 threshold for primary channel 00 0 01 1/4 10 1/2 .................................................... default 11 3/4 1-0 threshold for secondary channel 00 0 01 1/4 10 1/2 .................................................... default 11 3/4
VT8231 preliminary revision 0.8 october 29, 1999 - 72- function 1 registers - enhanced ide controller 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 44 - miscellaneous control 1 ................................. rw 7 reserved ........................................ always reads 0 6 master read cycle irdy# wait states 0 0 wait states 1 1 wait state..............................................default 5 master write cycle irdy# wait states 0 0 wait states 1 1 wait state..............................................default 4 reserved ........................................ always reads 0 3 bus master ide status register read retry retry bus master ide status register read when master write operation for dma read is not complete 0 disabled 1 enabled...................................................default 2-1 reserved ........................................ always reads 0 0 ultradma host must wait for first strobe before termination 0 enabled...................................................default 1 disabled offset 45 - miscellaneous control 2 ................................. rw 7 reserved ........................................ always reads 0 6 interrupt steering swap 0don ? t swap channel interrupts................default 1 swap interrupts between the two channels 5-4 reserved ........................................ always reads 0 3 memory read multiple command 0 disable ...................................................default 1enable 2 memory read and invalidate command 0 disable ...................................................default 1enable 1 secondary channel threshold enable 0 disable (data transfer starts immediately if fifo is not empty) 1 enable (data transfer will not start until the fifo is filled to the threshold set in bits 1-0 of rx43) .....................................................default 0 primary channel threshold enable 0 disable (data transfer starts immediately if fifo is not empty) 1 enable (data transfer will not start until the fifo is filled to the threshold set in bits 3-2 of rx43) .....................................................default offset 46 - miscellaneous control 3 ................................ rw 7 primary channel read dma fifo flush 1 = enable fifo flush for read dma when interrupt asserts primary channel. ...............default=1 (enabled) 6 secondary channel read dma fifo flush 1 = enable fifo flush for read dma when interrupt asserts secondary channel............ default=1 (enabled) 5 primary channel end-of-sector fifo flush 1 = enable fifo flush at the end of each sector for the primary channel. ................... default=0 (disabled) 4 secondary channel end-of-sector fifo flush 1 = enable fifo flush at the end of each sector for the secondary channel................. default=0 (disabled) 3-2 reserved ........................................always reads 0 1-0 max drdy pulse width maximum drdy# pulse width after the cycle count. command will deassert in spite of drdy# status to avoid system ready hang. 00 no limitation.......................................... default 01 64 pci clocks 10 128 pci clocks 11 192 pci clocks
VT8231 preliminary revision 0.8 october 29, 1999 - 73- function 1 registers - enhanced ide controller 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 4b-48 - drive timing control ............................... rw the following fields define the active pulse width and recovery time for the ide dior# and diow# signals: 31-28 primary drive 0 active pulse width ...... def=1010b 27-24 primary drive 0 recovery time ............. def=1000b 23-20 primary drive 1 active pulse width ...... def=1010b 19-16 primary drive 1 recovery time ............. def=1000b 15-12 secondary drive 0 active pulse width .. def=1010b 11-8 secondary drive 0 recovery time ......... def=1000b 7-4 secondary drive 1 active pulse width .. def=1010b 3-0 secondary drive 1 recovery time ......... def=1000b the actual value for each field is the encoded value in the field plus one and indicates the number of pci clocks. offset 4c - address setup time ....................................... rw 7-6 primary drive 0 address setup time 5-4 primary drive 1 address setup time 3-2 secondary drive 0 address setup time 1-0 secondary drive 1 address setup time for each field above: 00 1t 01 2t 10 3t 11 4t .....................................................default offset 4e - secondary non-1f0 port access timing ...... rw 7-4 dior#/diow# active pulse width ....... def=1111b 3-0 dior#/diow# recovery time .............. def=1111b the actual value for each field is the encoded value in the field plus one and indicates the number of pci clocks. offset 4f - primary non-1f0 port access timing` ........ rw 7-4 dior#/diow# active pulse width ....... def=1111b 3-0 dior#/diow# recovery time .............. def=1111b the actual value for each field is the encoded value in the field plus one and indicates the number of pci clocks. offset 53-50 - ultradma extended timing control ..... rw 31 pri drive 0 ultradma-mode enable method 0 enable by using ? set feature ? command..... def 1 enable by setting bit-30 of this register 30 pri drive 0 ultradma-mode enable 0 disable................................................... default 1 enable ultradma-mode operation 29 pri drive 0 transfer mode 0 dma or pio mode ............................... default 1 ultradma mode 28-27 reserved ........................................always reads 0 26-24 pri drive 0 cycle time (t = 30nsec @33mhz) 000 2t 001 3t 010 4t 011 5t 100 6t 101 7t 110 8t 111 9t .................................................... default 23 pri drive 1 ultradma-mode enable method 22 pri drive 1 ultradma-mode enable 21 pri drive 1 transfer mode 20 reserved ........................................always reads 0 19 pri clock source 0 33 mhz.................................................. default 1 66 mhz 18-16 pri drive 1 cycle time 15 sec drive 0 ultradma-mode enable method 14 sec drive 0 ultradma-mode enable 13 sec drive 0 transfer mode 12-11 reserved ........................................always reads 0 10-8 sec drive 0 cycle time 7 sec drive 1 ultradma-mode enable method 6 sec drive 1 ultradma-mode enable 5 sec drive 1 transfer mode 4 reserved ........................................always reads 0 3 sec clock source 0 33 mhz.................................................. default 1 66 mhz 2-0 sec drive 1 cycle time each byte defines ultradma operation for the indicated drive. the bit definitions are the same within each byte.
VT8231 preliminary revision 0.8 october 29, 1999 - 74- function 1 registers - enhanced ide controller 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 54 ? ultradma fifo control .............................. rw 7-5 reserved ........................................ always reads 0 4 one frame for each pci request for ide pci master cycles 0 disabled ................................................default 1enabled 3 grant isa while sharing bus with sa & ide in idle state 0 enable.....................................................default 1 disable 2 change drive to clear all fifo & internal states 0 disabled 1 enabled...................................................default 1 add dummy fifo push after end of transfer 0enabled 1 disabled .................................................default this bit is normally set to 0 for effective handling of transfer lengths that are not doubleword multiples 0 complete dma cycle with transfer size less than fifo size 0 enabled...................................................default 1 disabled offset 61-60 - primary sector size .................................. rw 15-12 reserved ........................................always reads 0 11-0 number of bytes per sector ...def=200h (512 bytes) offset 69-68 - secondary sector size .............................. rw 15-12 reserved ........................................always reads 0 11-0 number of bytes per sector ...def=200h (512 bytes)
VT8231 preliminary revision 0.8 october 29, 1999 - 75- function 1 registers - enhanced ide controller 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 70 ? primary ide status ....................................... rw 7 interrupt status 6 prefetch buffer status 5 post write buffer status 4 dma read prefetch status 3 dma write prefetch status 2 s/g operation complete 1-0 reserved ........................................ always reads 0 offset 71 ? primary interrupt control ............................ rw 7-1 reserved ........................................ always reads 0 0 flush fifo before generating ide interrupt 0 disable ...................................................default 1enable offset 78 ? secondary ide status ................................... rw 7 interrupt status 6 prefetch buffer status 5 post write buffer status 4 dma read prefetch status 3 dma write prefetch status 2 s/g operation complete 1-0 reserved ........................................always reads 0 offset 79 - secondary interrupt control ........................ rw 7-1 reserved ........................................always reads 0 0 flush fifo before generating ide interrupt 0 disable................................................... default 1enable
VT8231 preliminary revision 0.8 october 29, 1999 - 76- function 1 registers - enhanced ide controller 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 83-80 ? primary s/g descriptor address ............ rw offset 8b-88 ? secondary s/g descriptor address ........ rw offset c3-c0 ? pci pm block 1 ....................................... ro 31-0 pci pm block 1 .......................... always reads 0201h offset c7-c4 ? pci pm block 2 ....................................... ro 31-2 reserved ........................................ always reads 0 1-0 power state 00 on .....................................................default 01 off 1x -reserved- ide i/o registers these registers are compliant with the sff 8038i v1.0 standard. refer to the sff 8038i v1.0 specification for further details. i/o offset 0 - primary channel command i/o offset 2 - primary channel status i/o offset 4-7 - primary channel prd table address i/o offset 8 - secondary channel command i/o offset a - secondary channel status i/o offset c-f - secondary channel prd table address
VT8231 preliminary revision 0.8 october 29, 1999 - 77- function 2 registers - usb controller ports 0-1 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw function 2 registers - usb controller ports 0-1 this universal serial bus host controller interface is fully compatible with uhci specification v1.1. there are two sets of software accessible registers: pci configuration registers and usb i/o registers. the pci configuration registers are located in the function 2 pci configuration space of the VT8231. the usb i/o registers are defined in uhci specification v1.1. the registers in this function control usb ports 0-1 (see function 3 for ports 2-3). pci configuration space header offset 1-0 - vendor id ....................................................... ro 0-7 vendor id ................. (1106h = via technologies) offset 3-2 - device id ......................................................... ro 0-7 device id (3038h = VT8231 usb controller) offset 5-4 - command ....................................................... rw 15-8 reserved ........................................ always reads 0 7 address stepping ...................... default=0 (disabled) 6 reserved (parity error response) ..................fixed at 0 5 reserved (vga palette snoop) ....................fixed at 0 4 memory write and invalidate . default=0 (disabled) 3 reserved (special cycle monitoring) ............fixed at 0 2bus master ............................... default=0 (disabled) 1 memory space ........................... default=0 (disabled) 0 i/o space ............................... default=0 (disabled) offset 7-6 - status ........................................................... rwc 15 reserved (detected parity error).......... always reads 0 14 signalled system error .............................. default=0 13 received master abort .............................. default=0 12 received target abort .............................. default=0 11 signalled target abort .............................. default=0 10-9 devsel# timing 00 fast 01 medium ......................................default (fixed) 10 slow 11 reserved 8-0 reserved ........................................ always reads 0 offset 8 - revision id (nnh) .............................................. ro 7-0 silicon revision code (0 indicates first silicon) 06h corresponds to chip revision d offset 9 - programming interface (00h) .......................... ro offset a - sub class code (03h=usb controller) .......... ro offset b - base class code (0ch=serial bus controller) ro offset c ? cache line size (00h) ...................................... ro offset d - latency timer ................................................. rw 7-0 timer value .......................................... default = 16h offset e - header type (00h) ............................................ ro offset f - bist (00h) ......................................................... ro offset 23-20 - usb i/o register base address ............... rw 31-16 reserved ........................................always reads 0 15-5 usb i/o register base address. port address for the base of the 32-byte usb i/o register block, corresponding to ad[15:5] 4-0 00001b offset 3c - interrupt line (00h) ...................................... rw 7-4 reserved ........................................always reads 0 3-0 usb interrupt routing ........................ default = 16h 0000 disabled................................................. default 0001 irq1 0010 reserved 0011 irq3 0100 irq4 0101 irq5 0110 irq6 0111 irq7 1000 irq8 1001 irq9 1010 irq10 1011 irq11 1100 irq12 1101 irq13 1110 irq14 1111 disabled offset 3d - interrupt pin (04h) ......................................... ro
VT8231 preliminary revision 0.8 october 29, 1999 - 78- function 2 registers - usb controller ports 0-1 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw usb-specific configuration registers offset 40 - miscellaneous control 1 ................................. rw 7 pci memory command option 0 support memory-read-line, memory-read- multiple, & memory-write-&-invalidate.... def 1 only support mem read, mem write cmds 6 babble option 0 automatically disable babbled port when eof babble occurs..........................................default 1don ? t disable babbled port 5 pci parity check option 0 disable perr# generation.....................default 1 enable parity check and perr# generation 4 frame interval select 0 1 ms frame..............................................default 1 0.1 ms frame 3 usb data length option 0 support td length up to 1280................default 1 support td length up to 1023 2 usb power management 0 disable usb power management...........default 1 enable usb power management 1dma option 0 8 dw burst access with better fifo latency def 1 16 dw burst access (original performance) 0pci wait states 0 zero wait ................................................default 1one wait offset 41 - miscellaneous control 2 ................................ rw 7 usb 1.1 improvement for eop 0 usb specification 1.1 compliant.......... default if a bit stuffing error occurs before eop, the receiver will accept the packet 1 usb specification 1.0 compliant if a bit stuffing error occurs before eop, the receiver will ignore the packet 6-5 reserved (do not program) ....................default = 0 4 hold pci request for successive accesses 0 disable 1 enable .................................................... default setting this bit to ? enable ? causes the system to treat the usb request as higher priority 3 frame counter test mode 0 disable................................................... default 1enable 2trap option 0 set trap 60/64 status bits only when trap 60/64 enable bits are set. ................................. default 1 set trap 60/64 status bits without checking enable bits 1 a20gate pass through option 0 pass through a20gate command sequence defined in uhci .................................... default 1don ? t pass through write i/o port 64 (ff) 0 usb irq test mode 0 normal operation .................................. default 1 generate usb irq
VT8231 preliminary revision 0.8 october 29, 1999 - 79- function 2 registers - usb controller ports 0-1 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 42 - fifo control .................................................. rw 7-4 reserved ........................................ always reads 0 3-2 reserved (do not program) .................... default = 0 1-0 release continuous req after ? n ? pciclks 00 do not release ........................................... def 01 n = 32 pciclks 10 n = 64 pciclks 11 n = 96 pciclks offset 60 - serial bus release number ............................. ro 7-0 release number .............................. always reads 10h offset 83-80 ? pm capability ............................................ ro 31-0 pm capability .................... always reads 00020001h offset 84 ? pm capability status .................................... rw 7-0 pm capability status ........................... default = 00h supports 00h (off) and 11h (on) only offset c1-c0 - legacy support ......................................... ro 15-0 uhci v1.1 compliant ................ always reads 2000h usb i/o registers these registers are compliant with the uhci v1.1 standard. refer to the uhci v1.1 specification for further details. i/o offset 1-0 - usb command i/o offset 3-2 - usb status i/o offset 5-4 - usb interrupt enable i/o offset 7-6 - frame number i/o offset b-8 - frame list base address i/o offset 0c - start of frame modify i/o offset 11-10 - port 0 status / control i/o offset 13-12 - port 1 status / control
VT8231 preliminary revision 0.8 october 29, 1999 - 80- function 3 registers - usb controller ports 2-3 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw function 3 registers - usb controller ports 2-3 this universal serial bus host controller interface is fully compatible with uhci specification v1.1. there are two sets of software accessible registers: pci configuration registers and usb i/o registers. the pci configuration registers are located in the function 3 pci configuration space of the VT8231. the usb i/o registers are defined in uhci specification v1.1. the registers in this function control usb ports 2-3 (see function 2 for ports 0-1). pci configuration space header offset 1-0 - vendor id ....................................................... ro 0-7 vendor id ................. (1106h = via technologies) offset 3-2 - device id ......................................................... ro 0-7 device id (3038h = VT8231 usb controller) offset 5-4 - command ....................................................... rw 15-8 reserved ........................................ always reads 0 7 address stepping ...................... default=0 (disabled) 6 reserved (parity error response) ..................fixed at 0 5 reserved (vga palette snoop) ....................fixed at 0 4 memory write and invalidate . default=0 (disabled) 3 reserved (special cycle monitoring) ............fixed at 0 2bus master ............................... default=0 (disabled) 1 memory space ........................... default=0 (disabled) 0 i/o space ............................... default=0 (disabled) offset 7-6 - status ........................................................... rwc 15 reserved (detected parity error).......... always reads 0 14 signalled system error .............................. default=0 13 received master abort .............................. default=0 12 received target abort .............................. default=0 11 signalled target abort .............................. default=0 10-9 devsel# timing 00 fast 01 medium ......................................default (fixed) 10 slow 11 reserved 8-0 reserved ........................................ always reads 0 offset 8 - revision id (nnh) .............................................. ro 7-0 silicon revision code (0 indicates first silicon) offset 9 - programming interface (00h) .......................... ro offset a - sub class code (03h=usb controller) .......... ro offset b - base class code (0ch=serial bus controller) ro offset c ? cache line size (00h) ...................................... ro offset d - latency timer ................................................. rw 7-0 timer value .......................................... default = 16h offset e - header type (00h) ............................................ ro offset f - bist (00h) ......................................................... ro offset 23-20 - usb i/o register base address ............... rw 31-16 reserved ........................................always reads 0 15-5 usb i/o register base address. port address for the base of the 32-byte usb i/o register block, corresponding to ad[15:5] 4-0 00001b offset 3c - interrupt line (00h) ...................................... rw 7-4 reserved ........................................always reads 0 3-0 usb interrupt routing ........................ default = 16h 0000 disabled................................................. default 0001 irq1 0010 reserved 0011 irq3 0100 irq4 0101 irq5 0110 irq6 0111 irq7 1000 irq8 1001 irq9 1010 irq10 1011 irq11 1100 irq12 1101 irq13 1110 irq14 1111 disabled offset 3d - interrupt pin (04h) ......................................... ro
VT8231 preliminary revision 0.8 october 29, 1999 - 81- function 3 registers - usb controller ports 2-3 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw usb-specific configuration registers offset 40 - miscellaneous control 1 ................................. rw 7 pci memory command option 0 support memory-read-line, memory-read- multiple, & memory-write-&-invalidate.... def 1 only support mem read, mem write cmds 6 babble option 0 automatically disable babbled port when eof babble occurs..........................................default 1don ? t disable babbled port 5 pci parity check option 0 disable perr# generation.....................default 1 enable parity check and perr# generation 4 frame interval select 0 1 ms frame..............................................default 1 0.1 ms frame 3 usb data length option 0 support td length up to 1280................default 1 support td length up to 1023 2 usb power management 0 disable usb power management...........default 1 enable usb power management 1dma option 0 8 dw burst access with better fifo latency def 1 16 dw burst access (original performance) 0pci wait states 0 zero wait ................................................default 1one wait offset 41 - miscellaneous control 2 ................................ rw 7 usb 1.1 improvement for eop 0 usb specification 1.1 compliant.......... default if a bit stuffing error occurs before eop, the receiver will accept the packet 1 usb specification 1.0 compliant if a bit stuffing error occurs before eop, the receiver will ignore the packet 6-5 reserved (do not program) ....................default = 0 4 hold pci request for successive accesses 0 disable 1 enable .................................................... default setting this bit to ? enable ? causes the system to treat the usb request as higher priority 3 frame counter test mode 0 disable................................................... default 1enable 2trap option 0 set trap 60/64 status bits only when trap 60/64 enable bits are set. ................................. default 1 set trap 60/64 status bits without checking enable bits 1 a20gate pass through option 0 pass through a20gate command sequence defined in uhci .................................... default 1don ? t pass through write i/o port 64 (ff) 0 usb irq test mode 0 normal operation .................................. default 1 generate usb irq
VT8231 preliminary revision 0.8 october 29, 1999 - 82- function 3 registers - usb controller ports 2-3 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 42 - fifo control .................................................. rw 7-4 reserved ........................................ always reads 0 3-2 reserved (do not program) .................... default = 0 1-0 release continuous req after ? n ? pciclks 00 do not release ........................................... def 01 n = 32 pciclks 10 n = 64 pciclks 11 n = 96 pciclks offset 60 - serial bus release number ............................. ro 7-0 release number .............................. always reads 10h offset 83-80 ? pm capability ............................................ ro 31-0 pm capability .................... always reads 00020001h offset 84 ? pm capability status .................................... rw 7-0 pm capability status .......supports 00h and 11h only offset c1-c0 - legacy support ......................................... ro 15-0 uhci v1.1 compliant ................ always reads 2000h usb i/o registers these registers are compliant with the uhci v1.1 standard. refer to the uhci v1.1 specification for further details. i/o offset 1-0 - usb command i/o offset 3-2 - usb status i/o offset 5-4 - usb interrupt enable i/o offset 7-6 - frame number i/o offset b-8 - frame list base address i/o offset 0c - start of frame modify i/o offset 11-10 - port 0 status / control i/o offset 13-12 - port 1 status / control
VT8231 preliminary revision 0.8 october 29, 1999 - 83- function 4 regs - power management, smbus and hwm 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw function 4 regs - power management, smbus and hwm this section describes the acpi (advanced configuration and power interface) power management system of the VT8231 which includes a system management bus (smbus) interface controller and hardware monitoring (hwm) subsystem. the power management system of the VT8231 supports both acpi and legacy power management functions and is compatible with the apm v1.2 and acpi v1.0 specifications. pci configuration space header offset 1-0 - vendor id ....................................................... ro 0-7 vendor id ................. (1106h = via technologies) offset 3-2 - device id ......................................................... ro 0-7 device id ................ (3057h = acpi power mgmt) offset 5-4 - command ....................................................... rw 15-8 reserved ........................................ always reads 0 7 address stepping ........................................fixed at 0 6 reserved (parity error response) ..................fixed at 0 5 reserved (vga palette snoop) ....................fixed at 0 4 memory write and invalidate ...................fixed at 0 3 reserved (special cycle monitoring) ............fixed at 0 2bus master .................................................fixed at 0 1 memory space .............................................fixed at 0 0 i/o space .................................................fixed at 0 offset 7-6 - status ........................................................... rwc 15 detected parity error ........................ always reads 0 14 signalled system error ...................... always reads 0 13 received master abort ...................... always reads 0 12 received target abort ...................... always reads 0 11 signalled target abort ...................... always reads 0 10-9 devsel# timing 00 fast 01 medium .....................................default (fixed) 10 slow 11 reserved 8 data parity detected .......................... always reads 0 7 fast back to back capable ............... always reads 1 6-0 reserved ........................................ always reads 0 offset 8 - revision id (nnh) .............................................. ro 7-0 silicon revision code offset 9 - programming interface (00h) .......................... ro the value returned by this register may be changed by writing the desired value to pci configuration function 4 offset 61h. offset a - sub class code (00h) ....................................... ro the value returned by this register may be changed by writing the desired value to pci configuration function 4 offset 62h. offset b - base class code (00h) ...................................... ro the value returned by this register may be changed by writing the desired value to pci configuration function 4 offset 63h. offset 0d - latency timer ............................................... rw 7-0 timer value ..............................................default = 0 offset 0e - header type (00h) .......................................... ro
VT8231 preliminary revision 0.8 october 29, 1999 - 84- function 4 regs - power management, smbus and hwm 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw power management-specific pci configuration registers offset 40 ? general configuration 0 ............................... rw 7 thermal alarm source select 0 from pin t11 (function 0 rx74[1] must be set to define the pin as thrm#)..................default 1 from any of the three internal temperature sensing circuits (see rx43 and rx44 of hardware monitoring configuration space) 6 sleep button 0 disable ...................................................default 1 sleep button is on irq6 pin (pin g1) 5 debounce lid and pwrbtn# inputs for 200us 0 disable ...................................................default 1enable 4 reserved ........................................ always reads 0 3 microsoft sound monitor in audio access 0 disable ...................................................default 1enable 2 game port monitor in audio access 0 disable ...................................................default 1enable 1 soundblaster monitor in audio access 0 disable ...................................................default 1enable 0 midi monitor in audio access 0 disable ...................................................default 1enable offset 41 - general configuration 1 ................................ rw 7 i/o enable for acpi i/o base 0 disable access to acpi i/o block.......... default 1 allow access to power management i/o register block (see offset 4b-48 to set the base address for this register block). the definitions of the registers in the power management i/o register block are included later in this document, following the power management subsystem overview. 6 acpi timer reset 0 normal timer operation ....................... default 1 reset timer 5-4 pmu timer test mode (do not program) ....def = 0 3 acpi timer count select 0 24-bit timer........................................... default 1 32-bit timer 2 rtc enable signal gated with pson (susc#) in soft-off mode 0 disable................................................... default 1enable 1 clock throttling clock selection 0 32 usec (512 usec cycle time) ................ default 1 1 msec (16 msec cycle time) 0 devsel# test mode (do not program).......def = 0
VT8231 preliminary revision 0.8 october 29, 1999 - 85- function 4 regs - power management, smbus and hwm 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 42 - acpi interrupt select .................................... rw 7 atx / at power indicator .................................. ro 0atx 1at 6 susc# state .......................................................... ro 5 reserved ........................................ always reads 0 4 susc# ac-power-on default value ................. ro this bit is written at rtc index 0a bit-7. 3-0 sci interrupt assignment 0000 disabled .................................................default 0001 irq1 0010 reserved 0011 irq3 0100 irq4 0101 irq5 0110 irq6 0111 irq7 1000 irq8 1001 irq9 1010 irq10 1011 irq11 1100 irq12 1101 irq13 1110 irq14 1111 irq15 offset 43 ? internal timer read test ............................... ro 7-0 internal timer read test offset 45-44 - primary interrupt channel (0000h) ....... rw 15 1/0 = ena/disa irq15 as primary intrpt channel 14 1/0 = ena/disa irq14 as primary intrpt channel 13 1/0 = ena/disa irq13 as primary intrpt channel 12 1/0 = ena/disa irq12 as primary intrpt channel 11 1/0 = ena/disa irq11 as primary intrpt channel 10 1/0 = ena/disa irq10 as primary intrpt channel 9 1/0 = ena/disa irq9 as primary intrpt channel 8 1/0 = ena/disa irq8 as primary intrpt channel 7 1/0 = ena/disa irq7 as primary intrpt channel 6 1/0 = ena/disa irq6 as primary intrpt channel 5 1/0 = ena/disa irq5 as primary intrpt channel 4 1/0 = ena/disa irq4 as primary intrpt channel 3 1/0 = ena/disa irq3 as primary intrpt channel 2 reserved ........................................always reads 0 1 1/0 = ena/disa irq1 as primary intrpt channel 0 1/0 = ena/disa irq0 as primary intrpt channel offset 47-46 - secondary interrupt channel (0000h) .... rw 15 1/0 = ena/disa irq15 as secondary intr channel 14 1/0 = ena/disa irq14 as secondary intr channel 13 1/0 = ena/disa irq13 as secondary intr channel 12 1/0 = ena/disa irq12 as secondary intr channel 11 1/0 = ena/disa irq11 as secondary intr channel 10 1/0 = ena/disa irq10 as secondary intr channel 9 1/0 = ena/disa irq9 as secondary intr channel 8 1/0 = ena/disa irq8 as secondary intr channel 7 1/0 = ena/disa irq7 as secondary intr channel 6 1/0 = ena/disa irq6 as secondary intr channel 5 1/0 = ena/disa irq5 as secondary intr channel 4 1/0 = ena/disa irq4 as secondary intr channel 3 1/0 = ena/disa irq3 as secondary intr channel 2 reserved ........................................always reads 0 1 1/0 = ena/disa irq1 as secondary intr channel 0 1/0 = ena/disa irq0 as secondary intr channel
VT8231 preliminary revision 0.8 october 29, 1999 - 86- function 4 regs - power management, smbus and hwm 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 4b-48 ? power management i/o base ................. rw 31-16 reserved ........................................ always reads 0 15-7 power management i/o register base address. port address for the base of the 128-byte power management i/o register block, corresponding to ad[15:7]. the "i/o space" bit at offset 41 bit-7 enables access to this register block. the definitions of the registers in the power management i/o register block are included later in this document, following the power-management-specific pci configuration register descriptions and the power management subsystem overview. 6-0 0000001b offset 4c ? host bus power management control ........ rw 7-4 thermal duty cycle (thm_dty) this 4-bit field determines the duty cycle of the stpclk# signal when the thrm# pin is asserted low. the field is decoded as follows: 0000 reserved.................................................default 0001 0-6.25% 0010 6.25-12.50% 0011 18.75-25.00% 0100 31.25-37.50% 0101 37.50-43.75% 0110 43.75-50.00% 0111 50.00-56.25% 1000 56.25-62.50% 1001 62.50-68.75% 1010 68.75-75.00% 1011 75.00-87.50% 1100 75.00-81.25% 1101 81.25-87.50% 1110 87.50-93.75% 1111 93.75-100% 3thrm enable 0 disable ...................................................default 1enable 2 frame input as resume event in c3 0 disable ...................................................default 1enable 1 reserved ........................................ always reads 0 0 cpu stop grant cycle select 0 from halt and stop grant cycle ............default 1 from stop grant cycle this bit is combined with i/o space rx2c[3] for controlling the start of cpustp# assertion during system suspend mode: rx2c[3] rx4c[0] function 4 function 4 i/o space cfg space cpustp# assertion 0 x immediate 1 0 wait for cpu halt / stop grant cycle 1 1 wait for cpu stop grant cycle offset 4d ? throttle / clock stop control ...................... rw 7 throttle timer reset ......................................def = 0 6-5 throttle timer 0x 4-bit .................................................... default 10 3-bit 11 2-bit 4 fast clock (7.5us) as throttle timer tick 0 disable................................................... default 1enable 3 reserved ........................................always reads 0 2 internal clock stop for pci idle 0 disable................................................... default 1enable 1 internal clock stop during c3 0 disable................................................... default 1enable 0 internal clock stop during suspend 0 disable................................................... default 1enable
VT8231 preliminary revision 0.8 october 29, 1999 - 87- function 4 regs - power management, smbus and hwm 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 53-50 - gp timer control (0000 0000h) .............. rw 31-30 conserve mode timer count value 00 1/16 second ............................................default 01 1/8 second 10 1 second 11 1 minute 29 conserve mode status this bit reads 1 when in conserve mode 28 conserve mode enable 0 disable ...................................................default 1enable 27-26 secondary event timer count value 00 2 milliseconds.........................................default 01 64 milliseconds 10 ? second 11 by eoi + 0.25 milliseconds 25 secondary event occurred status this bit reads 1 to indicate that a secondary event has occurred (to resume the system from suspend) and the secondary event timer is counting down. 24 secondary event timer enable 0 disable ...................................................default 1enable 23-16 gp1 timer count value (base defined by bits 5-4) write to load count value; read to get current count 15-8 gp0 timer count value (base defined by bits 1-0) write to load count value; read to get current count 7 gp1 timer start on setting this bit to 1, the gp1 timer loads the value defined by bits 23-16 of this register and starts counting down. the gp1 timer is reloaded at the occurrence of certain peripheral events enabled in the gp timer reload enable register (power management i/o space offset 38h). if no such event occurs and the gp1 timer counts down to zero, then the gp1 timer timeout status bit is set to one (bit-3 of the global status register at power management register i/o space offset 28h). additionally, if the gp1 timer timeout enable bit is set (bit-3 of the global enable register at power management register i/o space offset 2ah), then an smi is generated. 6 gp1 timer automatic reload 0 gp1 timer stops at 0 .............................default 1 reload gp1 timer automatically after counting down to 0 5-4 gp1 timer base 00 disable ...................................................default 01 1/4 msec 10 1 second 11 1 minute 3 gp0 timer start on setting this bit to 1, the gp0 timer loads the value defined by bits 15-8 of this register and starts counting down. the gp0 timer is reloaded at the occurrence of certain peripheral events enabled in the gp timer reload enable register (power management i/o space offset 38h). if no such event occurs and the gp0 timer counts down to zero, then the gp0 timer timeout status bit is set to one (bit-2 of the global status register at power management register i/o space offset 28h). additionally, if the gp0 timer timeout enable bit is set (bit-2 of the global enable register at power management register i/o space offset 2ah), then an smi is generated. 2 gp0 timer automatic reload 0 gp0 timer stops at 0 ............................ default 1 reload gp0 timer automatically after counting down to 0 1-0 gp0 timer base 00 disable................................................... default 01 1/16 second 10 1 second 11 1 minute
VT8231 preliminary revision 0.8 october 29, 1999 - 88- function 4 regs - power management, smbus and hwm 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 54 ? power well control ...................................... wo 7 smbus clock select 0 smbus clock from 14.31818 mhz divider def 1 smbus clock from rtc 32.768 khz 6 str power well output gating 0 disable ...................................................default 1enable 5 susc# = 0 for str 0 disable ...................................................default 1enable 4 susst1# / gpo3 select (pin v10) 0 susst1#................................................default 1gpo3 3 gpo2 / susb# select (pin w9) 0 susb#....................................................default 1gpo2 before chip rev c, these definitions were reversed 2 gpo1 / susa# select (pin v9) 0 susa# ...................................................default 1gpo1 before chip rev c, these definitions were reversed 1-0 gpo0 (slowclk) output selection (pin t8) 00 from gpo0 (pmu i/o rx4c[0])...........default 01 1 hz 10 4 hz 11 16 hz offset 55 ? usb wakeup .................................................. rw 7-1 reserved ........................................always reads 0 0 usb wakeup for str/std/soff 0 disable................................................... default 1enable
VT8231 preliminary revision 0.8 october 29, 1999 - 89- function 4 regs - power management, smbus and hwm 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 58 ? gp2 / gp3 timer control ............................. rw 7 gp3 timer start on setting this bit to 1, the gp3 timer loads the value defined by rx5a and starts counting down. the gp3 timer is reloaded at the occurrence of certain events enabled in the gp timer reload enable register (power management i/o space offset 38h). if no such event occurs and the gp3 timer counts down to zero, then the gp3 timer timeout status bit is set to one (bit-13 of the global status register at power management register i/o space offset 28h). additionally, if the gp3 timer timeout enable bit is set (bit-13 of the global enable register at power management register i/o space offset 2ah), then an smi is generated. 6 gp3 timer automatic reload 0 gp3 timer stops at 0 .............................default 1 reload gp3 timer automatically after counting down to 0 5-4 gp3 timer tick select 00 disable ...................................................default 01 1/4 millisecond 10 1 second 11 1 minute 3 gp2 timer start on setting this bit to 1, the gp2 timer loads the value defined by rx59 and starts counting down. the gp2 timer is reloaded at the occurrence of certain events enabled in the gp timer reload enable register (power management i/o space offset 38h). if no such event occurs and the gp2 timer counts down to zero, then the gp2 timer timeout status bit is set to one (bit-12 of the global status register at power management register i/o space offset 28h). additionally, if the gp2 timer timeout enable bit is set (bit-12 of the global enable register at power management register i/o space offset 2ah), then an smi is generated. 2 gp2 timer automatic reload 0 gp2 timer stops at 0 .............................default 1 reload gp2 timer automatically after counting down to 0 1-0 gp2 timer tick select 00 disable ...................................................default 01 1/16 second 10 1 second 11 1 minute offset 59 ? gp2 timer ...................................................... rw 7 write: gp2 timer load value ...............default = 0 read: gp2 timer current count offset 5a ? gp3 timer ..................................................... rw 7 write: gp3 timer load value ...............default = 0 read: gp3 timer current count
VT8231 preliminary revision 0.8 october 29, 1999 - 90- function 4 regs - power management, smbus and hwm 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 61 ? program interface read value .................... wo 7-0 rx09 read value the value returned by the register at offset 9h (programming interface) may be changed by writing the desired value to this location. offset 62 - sub class read value.................................... wo 7-0 rx0a read value the value returned by the register at offset 0ah (sub class code) may be changed by writing the desired value to this location. offset 63 - base class read value .................................. wo 7-0 rx0b read value the value returned by the register at offset 0bh (base class code) may be changed by writing the desired value to this location.
VT8231 preliminary revision 0.8 october 29, 1999 - 91- function 4 regs - power management, smbus and hwm 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw hardware-monitor-specific configuration registers offset 71-70 ? hardware monitor i/o base ................... rw 15-7 i/o base (128-byte i/o space) ................. default = 0 6-0 fixed .......................... always reads 0000001b offset 74 ? hardware monitor control ........................... rw 7-4 reserved ........................................ always reads 0 3 hardware monitoring interrupt 0 smi .....................................................default 1sci 2-1 reserved ........................................ always reads 0 0 hardware monitoring i/o enable 0 disable hardware monitor functions.......default 1 enable hardware monitor functions system management bus-specific configuration registers offset 93-90 ? smbus i/o base ....................................... rw 31-16 reserved ........................................always reads 0 15-4 i/o base (16-byte i/o space) ................ default = 00h 3-0 fixed ................................always reads 0001b offset d2 ? smbus host configuration ......................... rw 7-4 reserved ........................................always reads 0 3 smbus interrupt select 0 smi .................................................... default 1sci 2 reserved ........................................always reads 0 1smbus irq 0 disable................................................... default 1enable 0 smbus host controller enable 0 disable smb controller functions ......... default 1 enable smb controller functions offset d3 ? smbus host slave command ...................... rw 7-0 smbus host slave command code ..........default=0 offset d4 ? smbus slave address for port 1 ................. rw 7-0 smbus slave address for port 1 ...............default=0 bit-0 must be set to 0 for proper operation offset d5 ? smbus slave address for port 2 ................. rw 7-0 smbus slave address for port 2 ...............default=0 bit-0 must be set to 0 for proper operation offset d6 ? smbus revision id ....................................... ro 7-0 smbus revision code
VT8231 preliminary revision 0.8 october 29, 1999 - 92- power management i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw power management i/o-space registers basic power management control and status i/o offset 1-0 - power management status ................. rwc the bits in this register are set only by hardware and can be reset by software by writing a one to the desired bit position. 15 wakeup status (wak_sts) ................... default = 0 this bit is set when the system is in the suspend state and an enabled resume event occurs. upon setting this bit, the system automatically transitions from the suspend state to the normal working state (from c3 to c0 for the processor). 14-12 reserved ........................................ always reads 0 11 abnormal power-off (apo_sts)........... default = 0 10 rtc status (rtc_sts) ........................... default = 0 this bit is set when the rtc generates an alarm (on assertion of the rtc irq signal). 9 sleep button status (sb_sts)................. default = 0 this bit is set when the sleep button (slpbtn# / irq6 / gpi4) is pressed. 8 power button status (pb_sts)............... default = 0 this bit is set when the pwrbtn# signal is asserted low. if the pwrbtn# signal is held low for more than four seconds, this bit is cleared, the pbor_sts bit is set, and the system will transition into the soft off state. 7-6 reserved ........................................ always reads 0 5 global status (gbl_sts)........................ default = 0 this bit is set by hardware when bios_rls is set (typically by an smi routine to release control of the sci/smi lock). when this bit is cleared by software (by writing a one to this bit position) the bios_rls bit is also cleared at the same time by hardware. 4 bus master status (bm_sts) ................. default = 0 this bit is set when a system bus master requests the system bus. all pci master, isa master and isa dma devices are included. 3-1 reserved ........................................ always reads 0 0 acpi timer carry status (tmr_sts) .. default = 0 the bit is set when the 23 rd (31st) bit of the 24 (32) bit acpi power management timer changes. i/o offset 3-2 - power management enable .................. rw the bits in this register correspond to the bits in the power management status register at offset 1-0. 15 reserved ........................................always reads 0 14-12 reserved ........................................always reads 0 11 reserved ........................................always reads 0 10 rtc enable (rtc_en)............................default = 0 this bit may be set to trigger either an sci or an smi (depending on the setting of the sci_en bit) to be generated when the rtc_sts bit is set. 9 sleep button enable (sb_en) .................default = 0 this bit may be set to trigger either an sci or smi when the sb_sts bit is set. 8 power button enable (pb_en) ...............default = 0 this bit may be set to trigger either an sci or an smi (depending on the setting of the sci_en bit) to be generated when the pb_sts bit is set. 7-6 reserved ........................................always reads 0 5 global enable (gbl_en).........................default = 0 this bit may be set to trigger either an sci or an smi (depending on the setting of the sci_en bit) to be generated when the gbl_sts bit is set. 4 reserved ........................................always reads 0 3-1 reserved ........................................always reads 0 0 acpi timer enable (tmr_en) ..............default = 0 this bit may be set to trigger either an sci or an smi (depending on the setting of the sci_en bit) to be generated when the tmr_sts bit is set.
VT8231 preliminary revision 0.8 october 29, 1999 - 93- power management i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o offset 5-4 - power management control ................. rw 15 soft resume 14 reserved ........................................ always reads 0 13 sleep enable (slp_en)...................... always reads 0 this is a write-only bit; reads from this bit always return zero. writing a one to this bit causes the system to sequence into the sleep (suspend) state defined by the slp_typ field. 12-10 sleep type (slp_typ) 000 normal on 001 suspend to ram (str) 010 suspend to disk (std) (also called soft off). the vcc power plane is turned off while the vccs and vbat planes remain on. 011 reserved 100 power on suspend without reset 101 power on suspend with cpu reset 110 power on suspend with cpu/pci reset 111 reserved in any sleep state, there is minimal interface between powered and non-powered planes so that the effort for hardware design may be well managed. 9-3 reserved ........................................ always reads 0 2 global release (gbl_rls) ............ wo , default = 0 this bit is set by acpi software to indicate the release of the sci / smi lock. upon setting of this bit, the hardware automatically sets the bios_sts bit. the bit is cleared by hardware when the bios_sts bit is cleared by software. note that the setting of this bit will cause an smi to be generated if the bios_en bit is set (bit-5 of the global enable register at offset 2ah). 1 bus master reload (bms_rld) 0 bus master requests are ignored by power management logic...................................default 1 bus master requests transition the processor from the c3 state to the c0 state 0sci enable (sci_en) selects the power management event to generate either an sci or smi: 0 generate sci ..........................................default 1 generate smi note that certain power management events can be programmed individually to generate an sci or smi independent of the setting of this bit (refer to the general purpose sci enable and general purpose smi enable registers at offsets 22 and 24). also, tmr_sts & gbl_sts always generate sci and bios_sts always generates smi. i/o offset 0b-08 - power management timer ............... rw 31-24 extended timer value (etm_val) this field reads back 0 if the 24-bit timer option is selected (rx41 bit-3). 23-0 timer value (tmr_val) this read-only field returns the running count of the power management timer. this is a 24/32-bit counter that runs off a 3.579545 mhz clock, and counts while in the s0 (working) system state. the timer is reset to an initial value of zero during a reset, and then continues counting until the 14.31818 mhz input to the chip is stopped. if the clock is restarted without a reset, then the counter will continue counting from where it stopped.
VT8231 preliminary revision 0.8 october 29, 1999 - 94- power management i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw processor power management registers i/o offset 13-10 - processor & pci bus control............ rw 31-12 reserved ........................................ always reads 0 11 pci stop (pcistp# asserted) when pckrun# is deasserted (pci_stp) 0 enable.....................................................default 1 disable 10 pci bus clock run without stop (pci_run) 0 pckrun# will be de-activated after the pci bus is idle for 26 clocks..........................default 1 pckrun# is always asserted 9 host clock stop enable (host_stp) 0 stpclk# will be asserted in the c3 state, but the cpu clock is not stopped .................default 1 cpu clock is stopped in the c3 state 8 assert slp# for processor level 3 read 0 disable ...................................................default 1enable used in slot-1 systems only. 7-5 reserved ........................................ always reads 0 4 throttling enable (tht_en) setting this bit starts clock throttling (modulating the stpclk# signal) regardless of the cpu state. the throttling duty cycle is determined by bits 3-0 of this register. 3-0 throttling duty cycle (tht_dty) this 4-bit field determines the duty cycle of the stpclk# signal when the system is in throttling mode (the "throttling enable" bit is set to one). the duty cycle indicates the percentage of time the stpclk# signal is asserted while the throttling enable bit is set. the field is decoded as follows: 0000 reserved 0001 0-6.25% 0010 6.25-12.50% 0011 18.75-25.00% 0100 31.25-37.50% 0101 37.50-43.75% 0110 43.75-50.00% 0111 50.00-56.25% 1000 56.25-62.50% 1001 62.50-68.75% 1010 68.75-75.00% 1011 75.00-87.50% 1100 75.00-81.25% 1101 81.25-87.50% 1110 87.50-93.75% 1111 93.75-100% i/o offset 14 - processor level 2 ...................................... ro 7-0 level 2 ........................................always reads 0 reads from this register put the processor into the stop grant state (the VT8231 asserts stpclk# to suspend the processor). wake up from stop grant state is by interrupt (intr, smi, and sci). reads from this register return all zeros; writes to this register have no effect. i/o offset 15 - processor level 3 ...................................... ro 7-0 level 3 ........................................always reads 0 reads from this register put the processor in the c3 clock state with the stpclk# signal asserted. if rx10[9] = 1 then the cpu clock is also stopped by asserting cpustp#. wakeup from the c3 state is by interrupt (intr, smi, and sci). reads from this register return all zeros; writes to this register have no effect.
VT8231 preliminary revision 0.8 october 29, 1999 - 95- power management i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw general purpose power management registers i/o offset 21-20 - general purpose status (gp_sts) . rwc 15 reserved ........................................ always reads 0 14 usb wake-up status (uwak_sts) for str / std / soff 13 ac97 wake-up status (awak_sts) can be set only in suspend mode 12 battery low status (bl_sts) this bit is set when the batlow# input is asserted low. 11 notebook lid status (lid_sts) this bit is set when the lid input detects the edge selected by rx2c bit-7 (0=rising, 1=falling). 10 thermal detect status (thrm_sts) this bit is set when the thrm input detects the edge selected by rx2c bit-6 (0=rising, 1=falling). 9 usb resume status (usb_sts) this bit is set when a usb peripheral generates a resume event. 8 ring status (ring_sts) this bit is set when the ring# input is asserted low. 7 gpi18 toggle status (gpi18_sts) this bit is set when the gpi18 pin is toggled. 6 gpi6 / extsmi6 toggle status (gpi6_sts) this bit is set when the gpi6 pin is toggled. 5 gpi5 toggle status (gpi5_sts) this bit is set when the gpi5 pin is toggled. 4 gpi4 / extsmi4 toggle status (gpi4_sts) this bit is set when the gpi4 pin is toggled. 3 gpi17 toggle status (gpi17_sts) this bit is set when the gpi17 pin is toggled. 2 gpi16 toggle status (gpi16_sts) this bit is set when the gpi16 pin is toggled. 1 gpi1 toggle status (gpi1_sts) this bit is set when the gpi1 pin is toggled. 0 extsmi# status (ext_sts) this bit is set when the extsmi# pin is asserted low. note that the above bits correspond one for one with the bits of the general purpose sci enable and general purpose smi enable registers at offsets 22 and 24: an sci or smi is generated if the corresponding bit of the general purpose sci or smi enable registers, respectively, is set to one. the above bits are set by hardware only and can only be cleared by writing a one to the desired bit. i/o offset 23-22 - general purpose sci enable ............ rw 15 reserved ........................................always reads 0 14 enable sci on setting of the uwak_sts bit def=0 13 enable sci on setting of the awak_sts bit def=0 12 enable sci on setting of the bl_sts bit ......def=0 11 enable sci on setting of the lid_sts bit .....def=0 10 enable sci on setting of the thrm_sts bit def=0 9 enable sci on setting of the usb_sts bit ....def=0 8 enable sci on setting of the ring_sts bit .def=0 7 enable sci on setting of the gpi18_sts bit ..def=0 6 enable sci on setting of the gpi6_sts bit ....def=0 5 enable sci on setting of the gpi5_sts bit ....def=0 4 enable sci on setting of the gpi4_sts bit ....def=0 3 enable sci on setting of the gpi17_sts bit ..def=0 2 enable sci on setting of the gpi16_sts bit ..def=0 1 enable sci on setting of the gpi1_sts bit ....def=0 0 enable sci on setting of the ext_sts bit ....def=0 these bits allow generation of an sci using a separate set of conditions from those used for generating an smi. i/o offset 25-24 - general purpose smi enable ........... rw 15-14 reserved ........................................always reads 0 13 enable smi on setting of the awak_sts bit def=0 12 enable smi on setting of the bl_sts bit .....def=0 11 enable smi on setting of the lid_sts bit ....def=0 10 enable smi on setting of the thrm_sts bit def=0 9 enable smi on setting of the usb_sts bit ...def=0 8 enable smi on setting of the ring_sts bit def=0 7 enable smi on setting of the gpi18_sts bit .def=0 6 enable smi on setting of the gpi6_sts bit ...def=0 5 enable smi on setting of the gpi5_sts bit ...def=0 4 enable smi on setting of the gpi4_sts bit ...def=0 3 enable smi on setting of the gpi17_sts bit .def=0 2 enable smi on setting of the gpi16_sts bit .def=0 1 enable smi on setting of the gpi1_sts bit ...def=0 0 enable smi on setting of the ext_sts bit ....def=0 these bits allow generation of an smi using a separate set of conditions from those used for generating an sci.
VT8231 preliminary revision 0.8 october 29, 1999 - 96- power management i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw generic power management registers i/o offset 29-28 - global status .................................... rwc 15 gpio range 1 access status (gr1_sts) ...... def=0 14 gpio range 0 access status (gr0_sts) ...... def=0 13 gp3 timer timeout status (g3to_sts) ...... def=0 12 gp2 timer timeout status (g2to_sts) ...... def=0 11 serirq smi status (ssmi_sts) .................. def=0 10-9 reserved ........................................ always reads 0 8 pckrun# resume status (prrsm_sts) .... def=0 this bit is set when pci bus peripherals wake up the system by asserting pckrun# 7 primary irq resume status (pirsm_sts) .def=0 this bit is set at the occurrence of primary irqs as defined in rx45-44 of pci configuration space 6 software smi status (sw_smi_sts) ............ def=0 this bit is set when the smi_cmd port (offset 2f) is written. 5 bios status (bios_sts) ................................ def=0 this bit is set when the gbl_rls bit is set to one (typically by the acpi software to release control of the sci/smi lock). when this bit is reset (by writing a one to this bit position) the gbl_rls bit is reset at the same time by hardware. 4 legacy usb status (leg_usb_sts) ............ def=0 this bit is set when a legacy usb event occurs. 3 gp1 timer time out status (gp1to_sts) .. def=0 this bit is set when the gp1 timer times out. 2 gp0 timer time out status (gp0to_sts) .. def=0 this bit is set when the gp0 timer times out. 1 secondary event timer time out status (stto_sts) ..................................................... def=0 this bit is set when the secondary event timer times out. 0 primary activity status (pact_sts) ............ def=0 this bit is set at the occurrence of any enabled primary system activity (see the primary activity detect status register at offset 30h and the primary activity detect enable register at offset 34h). after checking this bit, software can check the status bits in the primary activity detect status register at offset 30h to identify the specific source of the primary event. note that setting this bit can be enabled to reload the gp0 timer (see bit-0 of the gp timer reload enable register at offset 38). note that smi can be generated based on the setting of any of the above bits (see the offset 2ah global enable register bit descriptions in the right hand column of this page). the bits in this register are set by hardware only and can only be cleared by writing a one to the desired bit position. i/o offset 2b-2a - global enable ................................... rw 15 gpio range 1 smi enable (gr1_en) ..........def=0 14 gpio range 0 smi enable (gr0_en) ..........def=0 13 gp3 timer timeout smi enable (g3to_en) def=0 12 gp2 timer timeout smi enable (g2to_en) def=0 11 serirq smi enable (ssmi_en) ..................def=0 10-9 reserved ........................................always reads 0 8 pckrun# resume enable (prrsm_en) ....def=0 this bit may be set to trigger an smi to be generated when the prrsm_sts bit is set. 7 primary irq resume enable (pirsm_en) ..def=0 this bit may be set to trigger an smi to be generated when the pirsm_sts bit is set. 6 smi on software smi (sw_smi_en) ...........def=0 this bit may be set to trigger an smi to be generated when the sw_smi_sts bit is set. 5 smi on bios status (bios_en) ....................def=0 this bit may be set to trigger an smi to be generated when the bios_sts bit is set. 4 smi on legacy usb (leg_usb_en) ............def=0 this bit may be set to trigger an smi to be generated when the leg_usb_sts bit is set. 3 smi on gp1 timer time out (gp1to_en) .def=0 this bit may be set to trigger an smi to be generated when the gp1to_sts bit is set. 2 smi on gp0 timer time out (gp0to_en) .def=0 this bit may be set to trigger an smi to be generated when the gp0to_sts bit is set. 1 smi on secondary event timer time out (stto_en) ......................................................def=0 this bit may be set to trigger an smi to be generated when the stto_sts bit is set. 0 smi on primary activity (pact_en) ...........def=0 this bit may be set to trigger an smi to be generated when the pact_sts bit is set.
VT8231 preliminary revision 0.8 october 29, 1999 - 97- power management i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o offset 2d-2c - global control (gbl_ctl) ............ rw 15-12 reserved ........................................ always reads 0 11 ide secondary bus power-off 0 disable ...................................................default 1enable 10 ide primary bus power-off 0 disable ...................................................default 1enable 9 reserved ........................................ always reads 0 8 smi active (insmi) 0 smi inactive...........................................default 1 smi active. if the smiig bit is set, this bit needs to be written with a 1 to clear it before the next smi can be generated. 7 lid triggering polarity 0 rising edge ............................................default 1 falling edge 6 thrm# triggering polarity 0 rising edge ............................................default 1 falling edge 5 battery low resume disable 0 enable resume ........................................default 1 disable resume from suspend when batlow# is asserted 4 smi lock (smiig) 0 disable smi lock 1 enable smi lock (smi low to gate for the next smi) ...............................................default 3 wait for halt / stop grant cycle for cpustp# assertion 0don ? t wait...............................................default 1wait this bit works with rx4c[7] of pci configuration space to control the start of cpustp# assertion. 2 power button triggering select 0 sci/smi generated by pwrbtn# rising edge .....................................................default 1 sci/smi generated by pwrbtn# low level set to zero to avoid the situation where pb_sts is set to wake up the system then reset again by pbor_sts to switch the system into the soft-off state. 1 bios release (bios_rls) this bit is set by legacy software to indicate release of the sci/smi lock. upon setting of this bit, hardware automatically sets the gbl_sts bit. this bit is cleared by hardware when the gbl_sts bit cleared by software. note that if the gbl_en bit is set (bit-5 of the power management enable register at offset 2), then setting this bit causes an sci to be generated (because setting this bit causes the gbl_sts bit to be set). 0 smi enable (smi_en) 0 disable all smi generation.....................default 1 enable smi generation i/o offset 2f - smi command (smi_cmd) ................. rw 7-0 smi command writing to this port sets the sw_smi_sts bit. note that if the sw_smi_en bit is set (see bit-6 of the global enable register at offset 2ah), then an smi is generated.
VT8231 preliminary revision 0.8 october 29, 1999 - 98- power management i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o offset 33-30 - primary activity detect status ....... rwc these bits correspond to the primary activity detect enable bits in offset 37-34. all bits default to 0, are set by hardware only, and may only be cleared by writing 1s to the desired bit. 31-11 reserved ..........................................always read 0 10 audio access status .............................. (aud_sts) set if audio is accessed. 9 keyboard controller access status..... (kbc_sts) set if the kbc is accessed via i/o port 60h. 8 vga access status................................ (vga_sts) set if the vga port is accessed via i/o ports 3b0- 3dfh or memory space a0000-bffffh. 7 parallel port access status.................... (lpt_sts) set if the parallel port is accessed via i/o ports 278- 27fh or 378-37fh (lpt2 or lpt1). 6 serial port b access status .............. (comb_sts) set if the serial port is accessed via i/o ports 2f8- 2ffh or 2e8-2efh (com2 and com4 respectively). 5 serial port a access status .............. (coma_sts) set if the serial port is accessed via i/o ports 3f8- 3ffh or 3e8-3efh (com1 and com3, respectively). 4 floppy access status..............................(fdc_sts) set if the floppy controller is accessed via i/o ports 3f0-3f5h or 3f7h. 3 secondary ide access status...............(side_sts) set if the ide controller is accessed via i/o ports 170-177h or 376h. 2 primary ide access status ................. (pide_sts) set if the ide controller is accessed via i/o ports 1f0-1f7h or 3f6h. 1 primary interrupt activity status...... (pirq_sts) set on the occurrence of a primary interrupt (enabled via the "primary interrupt channel" register at function 4 pci configuration register offset 44h). 0 pci master access status .................... (drq_sts) set on the occurrence of pci master activity. note: the bits above correspond to the bits of the primary activity detect enable register at offset 34 (see right hand column of this page): if the corresponding bit is set in that register, setting of the above bits will cause the pact_sts bit to be set (bit-0 of the global status register at offset 28). setting of pact_sts may be set up to enable a "primary activity event": an smi will be generated if pact_en is set (bit-0 of the global enable register at offset 2ah) and/or the gp0 timer will be reloaded if the "gp0 timer reload on primary activity" bit is set (bit-0 of the gp timer reload enable register at offset 38 on this page). note: bits 2-9 above also correspond to bits of the gp timer reload enable register (see offset 38 on next page): if bits are set in that register, setting a corresponding bit in this register will cause the gp1 timer to be reloaded. i/o offset 37-34 - primary activity detect enable ........ rw these bits correspond to the primary activity detect status bits in offset 33-30. setting of any of these bits also sets the pact_sts bit (bit-0 of offset 28) which causes the gp0 timer to be reloaded (if pact_gp0_en is set) or generates an smi (if pact_en is set). 31-11 reserved ......................................... always read 0 10 smi on audio status .............................. (kbc_en) 0 don't set pact_sts if aud_sts is set .... def 1 set pact_sts if aud_sts is set 9 smi on keyboard controller status..... (kbc_en) 0 don't set pact_sts if kbc_sts is set..... def 1 set pact_sts if kbc_sts is set 8 smi on vga status................................ (vga_en) 0 don't set pact_sts if vga_sts is set .... def 1 set pact_sts if vga_sts is set 7 smi on parallel port status.................... (lpt_en) 0 don't set pact_sts if lpt_sts is set...... def 1 set pact_sts if lpt_sts is set 6 smi on serial port b status ...............(comb_en) 0 don't set pact_sts if comb_sts is set . def 1 set pact_sts if comb_sts is set 5 smi on serial port a status .............. (coma_en) 0 don't set pact_sts if coma_sts is set . def 1 set pact_sts if coma_sts is set 4 smi on floppy status .............................(fdc_en) 0 don't set pact_sts if fdc_sts is set ..... def 1 set pact_sts if fdc_sts is set 3 smi on secondary ide status...............(side_en) 0 don't set pact_sts if side_sts is set .... def 1 set pact_sts if side_sts is set 2 smi on primaryide status ...................(pide_en) 0 don't set pact_sts if pide_sts is set.... def 1 set pact_sts if pide_sts is set 1 smi on primary intr status .............. (pirq_en) 0 don't set pact_sts if pirq_sts is set.... def 1 set pact_sts if pirq_sts is set 0 smi on pci master status .................... (drq_en) 0 don't set pact_sts if drq_sts is set .... def 1 set pact_sts if drq_sts is set
VT8231 preliminary revision 0.8 october 29, 1999 - 99- power management i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o offset 3b-38 - gp timer reload enable .................. rw all bits in this register default to 0 on power up. 31-8 reserved ..........................................always read 0 7 gp1 timer reload on kbc access 0 normal gp1 timer operation................default 1 setting of kbc_sts causes the gp1 timer to reload. 6 gp1 timer reload on serial port access 0 normal gp1 timer operation ...............default 1 setting of coma_sts or comb_sts causes the gp1 timer to reload. 5 reserved ..........................................always read 0 4 gp1 timer reload on vga access 0 normal gp1 timer operation ...............default 1 setting of vga_sts causes the gp1 timer to reload. 3 gp1 timer reload on ide/floppy access 0 normal gp1 timer operation ...............default 1 setting of fdc_sts, side_sts, or pide_sts causes the gp1 timer to reload. 2 gp3 timer reload on gpio range 1 access 0 normal gp3 timer operation ...............default 1 setting of gr1_sts causes the gp3 timer to reload. 1 gp2 timer reload on gpio range 0 access 0 normal gp2 timer operation ...............default 1 setting of gr0_sts causes the gp2 timer to reload. 0 gp0 timer reload on primary activity 0 normal gp0 timer operation ...............default 1 setting of pact_sts causes the gp0 timer to reload. primary activities are enabled via the primary activity detect enable register (offset 37-34) with status recorded in the primary activity detect status register (offset 33-30). i/o offset 40 ? extended i/o trap status ................... rwc 7-2 reserved ......................................... always read 0 1 gpio ramge 3 access status ............. (gpr3_sts) 0 gpio ramge 2 access status ............. (gpr2_sts) i/o offset 42 ? extended i/o trap enable ..................... rw 7-2 reserved ......................................... always read 0 1 smi on gpio ramge 3 access.............(gpr3_en) 0 disable................................................... default 1enable 0 smi on gpio ramge 2 access.............(gpr2_en) 0 disable................................................... default 1enable
VT8231 preliminary revision 0.8 october 29, 1999 - 100- power management i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw general purpose i/o registers i/o offset 44 ? external smi / gpi input value ............. ro depending on the configuration, up to 8 external sci/smi ports are available as indicated below. the state of these inputs may be read in this register. 7 ring# input value................................. (gpi7 pin) 6 smbalrt# input value ....................... (gpi6 pin) 5 pme# input value .................................. (gpi5 pin) 4 slpbtn# input value............................ (gpi4 pin) 3 general purpose input 17 value ......... (gpi17 pin) 2 general purpose input 16 value ......... (gpi16 pin) 1 general purpose input 1 value ............. (gpi1 pin) 0 extsmi# input value i/o offset 45 ? smi / irq / resume status ..................... ro 7-5 reserved ........................................ always reads 0 4 latest pcsn status 0 latest pcsn was an i/o read 1 latest pcsn was an i/o write 3 fm smi or serial smi status 2 hardware monitor irq status 1 smbus irq status 0 smbus resume status i/o offset 4b-48 - gpi port input value (gpival) ...... ro 31-24 reserved ......................................... always read 0 23-16 gpi[23-16] by refresh scan .................... read only 15-12 reserved ......................................... always read 0 11-0 gpi[11-0] input value ............................. read only i/o offset 4f-4c - gpo port output value (gpoval) rw reads from this register return the last value written (held on chip) 31-26 reserved ........................................always reads 0 25-0 gpo[25-0] output value ................def = 3ffffffh
VT8231 preliminary revision 0.8 october 29, 1999 - 101- system management bus i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw system management bus i/o-space registers the base address for these registers is defined in rx93-90 of the function 4 pci configuration registers. the system management bus i/o space is enabled for access by the system if rxd2[0] = 1. i/o offset 00 ? smbus host status............................... rwc 7-5 reserved ........................................ always reads 0 4 failed bus transaction....................................rwc 0 smbus interrupt not caused by failed bus transaction ..............................................default 1 smbus interrupt caused by failed bus transaction. this bit may be set when the kill bit (i/o rx02[1]) is set and can be cleared by writing a 1 to this bit position. 3 bus collision.....................................................rwc 0 smbus interrupt not caused by transaction collision..................................................default 1 smbus interrupt caused by transaction collision. this bit is only set by hardware and can be cleared by writing a 1 to this bit position. 2 device error .....................................................rwc 0 smbus interrupt not caused by generation of an smbus transaction error....................default 1 smbus interrupt caused by generation of an smbus transaction error (illegal command field, unclaimed host-initiated cycle, or host device timeout). this bit is only set by hardware and can be cleared by writing a 1 to this bit position. 1 smbus interrupt..............................................rwc 0 smbus interrupt not caused by host command completion..............................................default 1 smbus interrupt caused by host command completion. this bit is only set by hardware and can be cleared by writing a 1 to this bit position. 0 host busy ..........................................................ro 0 smbus controller host interface is not processing a command ...........................default 1 smbus host controller is busy processing a command. none of the other smbus registers should be accessed if this bit is set. i/o offset 01h ? smbus slave status ........................... rwc 7-6 reserved ........................................always reads 0 5 alert status ..................................................... rwc 0 smbus interrupt not caused by smbalert# signal .................................................... default 1 smbus interrupt caused by smbalert# signal. this bit will be set only if the alert enable bit is set in the smbus slave control register at i/o offset r08[3]. this bit is only set by hardware and can be cleared by writing a 1 to this bit position. 4 shadow 2 status............................................... rwc 0 smbus interrupt not caused by address match to smbus shadow address port 2......... default 1 smbus interrupt or resume event caused by slave cycle address match to smbus shadow address port 2. this bit is only set by hardware and can be cleared by writing a 1 to this bit position. 3 shadow 1 status............................................... rwc 0 smbus interrupt not caused by address match to smbus shadow address port 1......... default 1 smbus interrupt or resume event caused by slave cycle address match to smbus shadow address port 1. this bit is only set by hardware and can be cleared by writing a 1 to this bit position. 2 slave status ..................................................... rwc 0 smbus interrupt not caused by slave event match .................................................... default 1 smbus interrupt or resume event caused by slave cycle event match of the smbus slave command register at pci function 4 configuration offset d3h (command match) and the smbus slave event register at smbus base + offset 0ah (data event match). this bit is only set by hardware and can be cleared by writing a 1 to this bit position. 1 reserved ........................................always reads 0 0 slave busy ......................................................... ro 0 smbus controller slave interface is not processing data ...................................... default 1 smbus controller slave interface is busy receiving data. none of the other smbus registers should be accessed if this bit is set.
VT8231 preliminary revision 0.8 october 29, 1999 - 102- system management bus i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o offset 02h ? smbus host control ............................. rw 7 reserved ........................................ always reads 0 6start ........................................ always reads 0 0 writing 0 has no effect ...........................default 1 start execution of command writing a 1 to this bit causes the smbus controller host interface to initiate execution of the command programmed in the smbus command protocol field (bits 4-2). all necessary registers should be programmed prior to writing a 1 to this bit. the host busy bit (smbus host status register bit-0) can be used to identify when the smbus controller has completed command execution. 5 reserved ........................................ always reads 0 4-2 smbus command protocol 000 quick read or write ..............................default 001 byte read or write 010 byte data read or write 011 word data read or write 100 reserved 101 block read or write 110 reserved 111 reserved 1 kill transaction in progress 0 normal host controller operation ...........default 1 stop host transaction currently in progress. setting this bit also sets the failed status bit (host status bit-4) and asserts the interrupt selected by the smb interrupt select bit (function 4 smbus host configuration register rxd2[3]). 0 interrupt enable 0 disable interrupt generation ...................default 1 enable generation of interrupts on completion of the current host transaction. i/o offset 03h ? smbus host command ........................ rw 7-0 smbus host command ..........................default = 0 this field contains the data transmitted in the command field of the smbus host transaction. i/o offset 04h ? smbus host address............................ rw the contents of this register are transmitted in the address field of the smbus host transaction. 7-1 smbus address .......................................default = 0 this field contains the 7-bit address of the targeted slave device. 0 smbus read or write 0 execute a write command ................. default 1 execute a read command i/o offset 05h ? smbus host data 0 .............................. rw the contents of this register are transmitted in the data 0 field of smbus host transaction writes. on reads, data 0 bytes are stored here. 7-0 smbus data 0 ..........................................default = 0 for block write commands, this field is programmed with the block transfer count (a value between 1 and 32). counts of 0 or greater than 32 are undefined. for block read commands, the count received from the smbus device is stored here. i/o offset 06h ? smbus host data 1 .............................. rw the contents of this register are transmitted in the data 1 field of smbus host transaction writes. on reads, data 1 bytes are stored here. 7-0 smbus data 1 ..........................................default = 0 i/o offset 07h ? smbus block data ............................... rw reads and writes to this register are used to access the 32-byte block data storage array. an internal index pointer is used to address the array. it is reset to 0 by reads of the smbus host control register (i/o offset 2) and incremented automatically by each access to this register. the transfer of block data into (read) or out of (write) this storage array during an smbus transaction always starts at index address 0. 7-0 smbus block data ..................................default = 0
VT8231 preliminary revision 0.8 october 29, 1999 - 103- system management bus i/o-space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o offset 08h ? smbus slave control ............................ rw 7-4 reserved ........................................ always reads 0 3 smbus alert enable 0 disable ...................................................default 1 enable generation of an interrupt or resume event on the assertion of the smbalert# signal 2 smbus shadow port 2 enable 0 disable ...................................................default 1 enable generation of an interrupt or resume event on external smbus master generation of a transaction with an address that matches the smbus slave shadow port 2 register (pci function 4 configuration register rxd5). 1 smbus shadow port 1 enable 0 disable ...................................................default 1 enable generation of an interrupt or resume event on external smbus master generation of a transaction with an address that matches the smbus slave shadow port 1 register (pci function 4 configuration register rxd4). 0 smbus slave enable 0 disable ...................................................default 1 enable generation of an interrupt or resume event on external smbus master generation of a transaction with an address that matches the smbus host controller slave port of 10h, a command field which matches the smbus slave command register (pci function 4 configuration register rxd3), and a match of one of the corresponding enabled events in the smbus slave event register (i/o offset 0ah). i/o offset 09h ? smbus shadow command ................... ro this register is used to store command values for external smbus master accesses to the host slave and slave shadow ports. 7-0 shadow command ....................................default = 0 this field contains the command value which was received during an external smbus master access whose address field matched the host slave address (10h) or one of the slave shadow port addresses. i/o offset 0ah ? smbus slave event ............................. rw this register is used to enable generation of interrupt or resume events for accesses to the host controller ? s slave port. 15-0 smbus slave event ..................................default = 0 this field contains data bits used to compare against incoming data to the smbus slave data register (i/o offset 0ch). when a bit in this register is set and the corresponding bit the slave data register is also set, an interrupt or resume event will be generated if the command value matches the value in the smbus slave command register and the access was to smbus host address 10h. i/o offset 0ch ? smbus slave data ................................ ro this register is used to store data values for external smbus master accesses to the shadow ports or the smbus host controller ? s slave port. 15-0 smbus slave data ....................................default = 0 this field contains the data value which was transmitted during an external smbus master access whose address field matched one of the slave shadow port addresses or the smbus host controller slave port address of 10h.
VT8231 preliminary revision 0.8 october 29, 1999 - 104- hardware monitor i/o space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw hardware monitor i/o space registers the i/o base address for access to the hardware monitor registers is defined in rx71-70 of function 4 pci configuration space. the hardware monitor i/o space is enabled for i/o access by the system if rx74[0] = 1. offset 13 ? analog data 15-8 ........................................... rw offset 14 ? analog data 7-0 ............................................. rw offset 15 ? digital data 7-0 .............................................. rw offset 16 ? channel counter ............................................ rw offset 17 ? data valid & channel indicators ................. rw offset 1d ? tsens3 hot temperature high limit ....... rw offset 1e ? tsens3 hot temp hysteresis lo limit...... rw offset 1f ? tsens3 temperature reading .................... rw temperature sensor 3 is an internal bandgap-type sensor which has 10-bit resolution. the high order 8 bits are stored here and the low order 2 bits are stored in rx49[7-6]. only the high order 8 bits are used for comparison with the limit values in offsets 1d and 1e. offset 20 ? tsens1 temperature reading .................... rw temperature sensor 1 is an external sensor input on pin w13 which has 10-bit resolution. the high order 8 bits are stored here and the low order 2 bits are stored in rx4b[7-6]. only the high order 8 bits are used for comparison with the limit values in offsets 39 and 3a. offset 21 ? tsens2 temperature reading .................... rw temperature sensor 2 is an external sensor input on pin y13 which has 10-bit resolution. the high order 8 bits are stored here and the low order 2 bits are stored in rx49[5-4]. only the high order 8 bits are used for comparison with the limit values in offsets 3d and 3e. offset 22 ? vsens1 (pin u13) voltage reading (2.0v). rw offset 23 ? vsens2 (pin v13) voltage reading (2.5v). rw offset 24 ? internal core voltage reading (3.3v) ......... rw offset 25 ? vsens3 (pin w14) voltage reading (5v) .. rw offset 26 ? vsens4 (pin y14) voltage reading (12v).. rw offset 27 ? reserved (-12v sense voltage reading) ...... rw offset 28 ? reserved (-5v sense voltage reading) ........ rw offset 29 ? fan1 (pin t12) count reading ................... rw offset 2a ? fan2 (pin u12) count reading .................. rw the above two locations store the number of counts of the internal clock per fan revolution. offset 2b ? vsens1 voltage high limit (cpu 2.0v) ... rw offset 2c ? vsens1 voltage low limit (cpu 2.0v) ... rw offset 2d ? vsens2 voltage high limit (nb 2.5v) ..... rw offset 2e ? vsens2 voltage low limit (nb 2.5v) ...... rw offset 2f ? internal core voltage high limit (3.3v) .... rw offset 30 ? internal core voltage low limit (3.3v) ..... rw offset 31 ? vsens3 voltage high limit (5v) ................ rw offset 32 ? vsens3 voltage low limit (5v) ................ rw offset 33 ? vsens4 voltage high limit (12v) .............. rw offset 34 ? vsens4 voltage low limit (12v) .............. rw offset 35 ? reserved (-12v sense high limit) ............... rw offset 36 ? reserved (-12v sense low limit) ................ rw offset 37 ? reserved (-5v sense high limit) ................. rw offset 38 ? reserved (-5v sense low limit) .................. rw offset 39 ? tsens1 hot temperature high limit ........ rw offset 3a ? tsens1hot temp hysteresis lo limit ...... rw offset 3b ? fan1 fan count limit ................................ rw offset 3c ? fan2 fan count limit ................................ rw the above two locations store the number of counts of the internal clock per fan revolution for the low limit of the fan speed. offset 3d ? tsens2 hot temperature high limit ....... rw offset 3e ? tsens2 hot temp hysteresis lo limit ..... rw offset 3f ? stepping id number ..................................... rw note: for high limits, comparisons are ? greater than ? comparisons. for low limits, comparisons are ? less than or equal ? comparisons. one consequence of the above is that if high limits are set to all ones (ffh or 11111111b), interrupts are disabled for high limits (i.e., interrupts will only be generated for cases when voltages are equal to or below the low limits).
VT8231 preliminary revision 0.8 october 29, 1999 - 105- hardware monitor i/o space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 40 ? hardware monitor configuration ................ rw 7 initialization 0 normal operation ...................................default 1 restore power-up default values to this register, the interrupt status and mask registers, the fan/rst#/os# register, and the os# configuration / temperature resolution register. this bit automatically clears itself since the power-on default is 0. 6 chassis intrusion reset 0 normal operation ...................................default 1 reset the chassis intrusion pin 5-4 reserved (r/w) ........................................ default = 0 3 hardware monitor interrupt clear 0 normal operation 1 clear the hardware monitor interrupt output (does not effect the contents of the interrupt status register). normally set during interrupt service ....................................................default 2 reserved ........................................ always reads 0 1 hardware monitor interrupt enable 0 disable hardware monitor interrupt output.. def 1 enable hardware monitor interrupt output 0start 0 place hardware monitor in standby mode.... def 1 enable startup of hardware monitor logic. at startup, limit checking functions and scanning begins. all high and low limits should be set prior to turning on this bit. note: the hardware monitor interrupt output will not be cleared if the user writes a zero to this bit after an interrupt has occurred (the hardware monitor interrupt clear bit must be used for this purpose).
VT8231 preliminary revision 0.8 october 29, 1999 - 106- hardware monitor i/o space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 41 ? hardware monitor interrupt status 1 ........... ro 7 fan 2 error 0 no error..................................................default 1 fan 2 count limit exceeded 6 fan 1 error 0 no error..................................................default 1 fan 1 count limit exceeded 5 reserved ........................................ always reads 0 4 tsens1 temperature error 0 no error..................................................default 1 high or low hot temperature limit exceeded. the interrupt mode is determined by temperature resolution register rx4b[1-0]. 3 vsens3 voltage error (5v) 0 no error..................................................default 1 high or low limit exceeded 2 internal core vcc voltage error (3.3v) 0 no error..................................................default 1 high or low limit exceeded 1 vsens2 voltage error (2.5v nb core voltage) 0 no error..................................................default 1 high or low limit exceeded 0 vsens1 voltage error (2.0v cpu core voltage) 0 no error..................................................default 1 high or low limit exceeded offset 42 ? hardware monitor interrupt status 2 ........... ro 7 tsens3 (internal bandgap) temp error 0 no error..................................................default 1 high or low hot temperature limit exceeded. interrupt mode is determined by rx4b[5-4]. 6-5 reserved ........................................ always reads 0 4 chassis error 0 no error..................................................default 1 chassis intrusion has gone high 3 tsens2 temperature error 0 no error..................................................default 1 high or low hot temperature limit exceeded. interrupt mode is determined by rx4b[3-2]. 2-1 reserved ........................................ always reads 0 0 vsens4 voltage error (12v) 0 no error..................................................default 1 high or low limit exceeded note: when either status register is read, status conditions in that register are reset. in the case of voltage priority indications, if two or more voltages were out of limits, then another indication would automatically be generated if it was not handled during interrupt service. errant voltages may be disabled in the control register until the operator has time to clear the errant condition or set the limit higher or lower. offset 43 ? hardware monitor interrupt mask 1 .......... rw 7 fan 2 count error mask 0 enable interrupt on error status bit set ......... def 1 disable interrupt on error status bit set 6 fan 1 count error mask 0 enable interrupt on error status bit set ......... def 1 disable interrupt on error status bit set 5 tsens1 thermal alarm control mask 0 enable tsens1 over-temp condition to control the thermal alarm (function 4 rx40[7] automatic cpu clock throttling must be set )def 1 disable 4 tsens1 temperature error mask 0 enable interrupt on error status bit set ......... def 1 disable interrupt on error status bit set 3 vsens3 voltage error mask (5v) 0 enable interrupt on error status bit set ......... def 1 disable interrupt on error status bit set 2 internal core vcc voltage error mask (3.3v) 0 enable interrupt on error status bit set ......... def 1 disable interrupt on error status bit set 1 vsens2 voltage error mask (2.5v nb core) 0 enable interrupt on error status bit set ......... def 1 disable interrupt on error status bit set 0 vsens1 voltage error mask (2.0v cpu core) 0 enable interrupt on error status bit set ......... def 1 disable interrupt on error status bit set offset 44 ? hardware monitor interrupt mask 2 .......... rw 7 tsens3 temperature error mask 0 enable interrupt on error status bit set ......... def 1 disable interrupt on error status bit set 6 tsens3 thermal alarm control mask 0 enable tsens3 over-temp condition to control the thermal alarm (function 4 rx40[7] automatic cpu clock throttling must be set) def 1 disable 5 tsens2 thermal alarm control mask 0 enable tsens2 over-temp condition to control the thermal alarm (function 4 rx40[7] automatic cpu clock throttling must be set) def 1 disable 4 chassis error mask 0 enable interrupt on error status bit set ......... def 1 disable interrupt on error status bit set 3 tsens2 temperature error mask 0 enable interrupt on error status bit set ......... def 1 disable interrupt on error status bit set 2-1 reserved ........................................always reads 0 0 vsens4 voltage error mask (12v) 0 enable interrupt on error status bit set ......... def 1 disable interrupt on error status bit set
VT8231 preliminary revision 0.8 october 29, 1999 - 107- hardware monitor i/o space registers 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 47 ? hardware monitor fan configuration ......... rw 7-6 fan 2 rpm control 00 divide by 1 01 divide by 2 ............................................default 10 divide by 4 11 divide by 8 5-4 fan 1 rpm control 00 divide by 1 01 divide by 2 ............................................default 10 divide by 4 11 divide by 8 3-0 reserved ........................................ always reads 0 offset 49 ? hardware monitor temp low order value rw 7-6 tsens3 value low-order bits upper 8 bits are stored in offset 1fh 5-4 tsens2 value low-order bits upper 8 bits are stored in offset 21h 3 over temperature active low for pmu to control stop clock 0 disable ...................................................default 1enable 2 chassis active low output 20 msec 0 disable ...................................................default 1enable 1 interrupt active high output 0 disable ...................................................default 1enable 0 reserved ........................................ always reads 0 offset 4b ? temperature interrupt configuration ........ rw 7-6 tsens1 value low-order bits ..................def = 00 upper 8 bits are stored in offset 20h 5-4 tsens3 hot temp interrupt mode ...........def = 01 3-2 tsens2 hot temp interrupt mode ...........def = 01 1-0 tsens1 hot temp interrupt mode ...........def = 01 the following applies to each of the above 3 fields 00 default interrupt mode. an interrupt occurs if the temperature goes above the hot limit. the interrupt will be cleared once the status register is read, but will be generated again when the next conversion is completed. interrupts will continue to be generated until the temperature goes below the hysteresis limit. 01 one-time interrupt mode. an interrupt is generated if the temperrature goes above the hot limit. the interrupt will be cleared when the status register is read. another interrupt will not be generated until the temperature first drops below the hysteresis limit............. default 10 comparator mode. an interrupt occurs if the temperature goes above the hot limit. this interrupt remains active until the temperature goes below the hot limit (i.e., no hysteresis). 11 default interrupt mode (same as 00)
VT8231 preliminary revision 0.8 october 29, 1999 - 108- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw function 5 & 6 registers - ac97 audio & modem codecs the codec interface is hardware compatible with ac97 and soundblaster pro. there are two sets of software accessible registers: pci configuration registers and i/o registers. the pci configuration registers for the audio codec are located in the function 5 pci configuration space of the VT8231. the pci configuration registers for the modem codec are located in the function 6 pci configuration space. the i/o registers are located in the system i/o space. pci configuration space header ? function 5 audio offset 1-0 - vendor id ....................................................... ro 0-7 vendor id ................. (1106h = via technologies) offset 3-2 - device id ......................................................... ro 0-7 device id (3058h = VT8231 audio codec) offset 5-4 - command ....................................................... rw 15-10 reserved ........................................ always reads 0 9 fast back-to-back .......................................fixed at 0 8 serr# enable .............................................fixed at 0 7 address stepping ........................................fixed at 0 6 parity error response ................................fixed at 0 5 vga palette snoop .....................................fixed at 0 4 memory write and invalidate ...................fixed at 0 3 special cycle monitoring ...........................fixed at 0 2bus master .................................................fixed at 0 1 memory space .............................................fixed at 0 0 i/o space ............................... default=0 (disabled) offset 7-6 - status ........................................................... rwc 15 detected parity error .................................fixed at 0 14 signalled system error ...............................fixed at 0 13 received master abort ...............................fixed at 0 12 received target abort ...............................fixed at 0 11 signalled target abort ...............................fixed at 0 10-9 devsel# timing 00 fast 01 medium .................................................... fixed 10 slow 11 reserved 8 data parity error ........................................fixed at 0 7 fast back-to-back capable ........................fixed at 0 6-5 reserved ........................................ always reads 0 4pm 1.1 .................................................fixed at 1 3-0 reserved ........................................ always reads 0 offset 8 - revision id (40h) ............................................... ro 7-0 silicon revision code offset 9 - programming interface (00h) ........................... ro offset a - sub class code (01h=audio device) ............... ro offset b - base class code (04h=multimedia device) ..... ro offset d - latency timer (00h) ......................................... ro offset e - header type (00h) ............................................ ro offset f - bist (00h) ......................................................... ro offset 13-10 - base address 0 ? sgd control / status .. rw 31-16 reserved ........................................always reads 0 15-8 base address ......................................... default = 00h 7-0 00000001b (256 bytes) offset 17-14 - base address 1 ? fm nmi status ........... rw 31-16 reserved ........................................always reads 0 15-2 base address ..................................... default = 0000h 1-0 01b (4 bytes) offset 1b-18 - base address 2 ? midi port ................... rw 31-16 reserved ........................................always reads 0 15-2 base address ..................................... default = 0330h 1-0 01b (4 bytes) offset 2f-2c ? subsystem id / sub vendor id ............. ro* *this register is rw if function 5-6 rx42[5] = 1 offset 34 ? capture pointer (default = c0h) .................. ro offset 3c - interrupt line ................................................ rw 7-4 reserved ........................................always reads 0 3-0 audio interrupt routing 0000 disabled................................................. default 0001 irq1 0010 reserved 0011 irq3 0100 irq4 0101 irq5 0110 irq6 0111 irq7 1000 irq8 1001 irq9 1010 irq10 1011 irq11 1100 irq12 1101 irq13 1110 irq14 1111 disabled offset 3d - interrupt pin (03h) ......................................... ro offset 3e - minimum grant (00h) .................................... ro offset 3f - maximum latency (00h) ................................ ro
VT8231 preliminary revision 0.8 october 29, 1999 - 109- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw pci configuration space header ? function 6 modem offset 1-0 - vendor id ....................................................... ro 0-7 vendor id ................. (1106h = via technologies) offset 3-2 - device id ......................................................... ro 0-7 device id (3068h = 8231 modem codec) offset 5-4 - command ....................................................... rw 15-10 reserved ........................................ always reads 0 9 fast back-to-back .......................................fixed at 0 8 serr# enable .............................................fixed at 0 7 address stepping ........................................fixed at 0 6 parity error response ................................fixed at 0 5 vga palette snoop .....................................fixed at 0 4 memory write and invalidate ...................fixed at 0 3 special cycle monitoring ...........................fixed at 0 2bus master .................................................fixed at 0 1 memory space .............................................fixed at 0 0 i/o space ............................... default=0 (disabled) offset 7-6 - status ........................................................... rwc 15 detected parity error .................................fixed at 0 14 signalled system error ...............................fixed at 0 13 received master abort ...............................fixed at 0 12 received target abort ...............................fixed at 0 11 signalled target abort ...............................fixed at 0 10-9 devsel# timing 00 fast 01 medium .................................................... fixed 10 slow 11 reserved 8 data parity error ........................................fixed at 0 7 fast back-to-back capable ........................fixed at 0 6-0 reserved ........................................ always reads 0 offset 8 - revision id (nnh) ............................................... ro 7-0 silicon revision code (0 indicates first silicon) offset 9 - programming interface (00h) ......................... *ro offset a - sub class code (80h) ...................................... *ro offset b - base class code (07h) ..................................... *ro *registers 9-b are rw if function 5-6 rx44[5] = 1 offset d - latency timer (00h) ......................................... ro offset e - header type (00h) ............................................ ro offset f - bist (00h) .......................................................... ro offset 13-10 - base address 0 ? sgd control / status .. rw 31-16 reserved ........................................always reads 0 15-8 base address ......................................... default = 00h 7-0 00000001b (256 bytes) offset 1f-1c - base address 3 ? codec reg shadow .... rw 31-16 reserved ........................................always reads 0 15-8 base address ......................................... default = 00h 7-0 00000001b (256 bytes) offset 3c - interrupt line ................................................ rw 7-4 reserved ........................................always reads 0 3-0 audio interrupt routing 0000 disabled................................................. default 0001 irq1 0010 reserved 0011 irq3 0100 irq4 0101 irq5 0110 irq6 0111 irq7 1000 irq8 1001 irq9 1010 irq10 1011 irq11 1100 irq12 1101 irq13 1110 irq14 1111 disabled offset 3d - interrupt pin (03h) ......................................... ro offset 3e - minimum grant (00h) .................................... ro offset 3f - maximum latency (00h) ................................ ro
VT8231 preliminary revision 0.8 october 29, 1999 - 110- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw function 5 & 6 codec-specific configuration registers offset 40 ? ac97 interface status .................................... ro 7-5 reserved ........................................ always reads 0 4 ac97 codec low-power status..........................ro 0 ac97 codec not in low-power mode 1 ac97 codec in low-power mode 3 reserved ........................................ always reads 0 2 secondary codec 2 (cid=10b) ready status ....ro 0 codec not ready 1 codec ready (ac97 ctrlr can access codec) 1 secondary codec 1 (cid=01b) ready status ....ro 0 codec not ready 1 codec ready (ac97 ctrlr can access codec) 0 primary codec ready status ..............................ro 0 codec not ready 1 codec ready (ac97 ctrlr can access codec) offset 41 ? ac link interface control ........................... rw 7 ac-link interface enable (enac97) 0 disable................................................... default 1enable 6 ac-link reset (acrst#) 0 assert ac-link reset ............................ default 1 de-assert ac-link reset 5 ac-link sync (rsynchi) 0 release sync ....................................... default 1 force sync high 4 ac-link serial data out 0 release sdo.......................................... default 1 force sdo high function 5 only (reserved in function 6): 3 variable-sample-rate on-demand mode 0 disable................................................... default 1enable bit valid in function 5 only (reserved in function 6) 2 ac link sgd read channel pcm data output 0 disable................................................... default 1enable bit valid in function 5 only (reserved in function 6) 1 ac link fm channel pcm data out (selfm) 0 disable................................................... default 1enable bit valid in function 5 only (reserved in function 6) 0 ac link sb pcm data output (selsb) 0 disable................................................... default 1enable bit valid in function 5 only (reserved in function 6)
VT8231 preliminary revision 0.8 october 29, 1999 - 111- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 42 ? function enable ....................... rw (function 5) offset 42 ? function enable ........................ ro (function 6) 7 midi pnp 0 midi port address selected by rx43[3-2] . def 1 midi port address selected by iobase2 6mask midi irq 0 disable ...................................................default 1enable 5 function 5 config reg rx2c writable 0 f5rx2c-2f ro ......................................default 1 f5rx2c-2f rw 4 gate soundblaster pcm when fifo empty 0 disable ...................................................default 1enable 3 game port enable (engame) 0 disable ...................................................default 1 enable (200-207h) 2 fm enable (enfm) 0 disable ...................................................default 1 enable (388-38b) 1 midi enable (enmidi) 0 disable ...................................................default 1enable 0 soundblaster enable (ensb) 0 disable ...................................................default 1enable offset 43 ? plug and play control ............. rw (function 5) offset 43 ? plug and play control .............. ro (function 6) 7-6 soundblaster irq select (sbirqs[1:0]) 00 irq5 .....................................................default 01 irq7 10 irq9 11 irq10 5-4 soundblaster drq select (sbdrqs[1:0]) 00 dma channel 0 01 dma channel 1 .....................................default 10 dma channel 2 11 dma channel 3 3-2 midi decode select (midibase) 00 300-303h 01 310-313h 10 320-323h 11 330-333h ................................................default 1-0 soundblaster decode select (sbbase) 00 220-22fh ................................................default 01 240-24fh 10 260-26fh 11 280-28fh offset 44 ? mc97 interface control .......... ro (function 5) offset 44 ? mc97 interface control ......... rw (function 6) 7 function 5 ac-link interface access 0 disable................................................... default 1enable 6 secondary codec support 0 disable................................................... default 1enable 5 function 6 config reg rx9-b writable 0 f6rx9-b ro.......................................... default 1f6rx9-b rw 4 function 6 config reg 2ch writable 0 f6rx2c-2f ro...................................... default 1 f6rx2c-2f rw 3-0 reserved ........................................always reads 0 offset 48 ? fm nmi control ..................... rw (function 5) offset 48 ? fm nmi control ...................... ro (function 6) 7-3 reserved ........................................always reads 0 2 fm irq select 0 route fm trap interrupt to nmi........... default 1 route fm trap interrupt to smi 1 fm sgd data for soundblaster mixing 0 disable................................................... default 1enable 0 fm trap interrupt 0 enable .................................................... default 1 disable offset 4b-4a ? game port base address . rw (function 5) offset 4b-4a ? game port base address .. ro (function 6) 15-0 game port base address .........................default = 0
VT8231 preliminary revision 0.8 october 29, 1999 - 112- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw function 5 i/o base 0 regs ? dxsn scatter/gather dma ? n ? is 0-3 for dxs channels 0-3 i/o offset n0 ? dxsn sgd read channel status ....... rwc 7 sgd active (0 = completed or terminated)........ro 6-3 reserved ........................................ always reads 0 2 sgd stopped ........................................................ro 1 sgd eol ......................................................rwc 0 sgd flag ......................................................rwc i/o offset n1 ? dxsn sgd read channel control ........ rw 7 sgd trigger ........................... wo (always reads 0) 0 no effect 1 trigger sgd operation 6 sgd terminate ...................... wo (always reads 0) 0 no effect 1 terminate sgd operation 5 auto restart 0 stop sgd operation at eol 1 restart sgd operation at eol 4sgd pause 0 release sgd pause and resume the transfer from the paused line 1 pause sgd read operation (sgd pointer stays at the current address) 3-2 reserved ........................................ always reads 0 1 interrupt on eol @ end of block 0 disable ...................................................default 1enable 0 interrupt on flag @ end-of-blk 0 disable ...................................................default 1enable i/o offset n2 ? dxsn read channel left volume ......... rw 7-6 reserved ........................................ always reads 0 5-0 left volume control 000000 0 db ...................................................default 000111 -10.5 db 011111 -46.5 db.............................................default 111111 muted (instead of ? 94.5 db) i/o offset n3 ? dxsn read channel right volume ...... rw 7-6 reserved ........................................ always reads 0 5-0 right volume control 000000 0 db ...................................................default 000111 -10.5 db 011111 -46.5 db.............................................default 111111 muted (instead of ? 94.5 db) i/o offset n7-n4 ? dxsn sgd table pointer base ........ rw 31-0 sgd table pointer base address (even addr) .... w current pointer address ....................................... r i/o offset nb-n8 ? dxsn read channel format ............ ro 31-24 stop index (sgd operation will stop at end of entry) 23-22 reserved ........................................always reads 0 21-20 pcm format 00 8-bit mono format ................................ default 01 8-bit stereo format 10 16-bit mono format............................... default 11 16-bit stereo format 19-0 dxsx channel sample rate i/o offset nf-nc ? dxsn sgd count pointer................ ro 31-24 current sgd index 23-0 current sgd count sgd table format 63 62 61 60-56 55-32 31-0 eol flag stop -reserved- base base (fm count address chan [23:0] [31:0] only) eol end of link. 1 indicates this block is the last of the link. if the channel ? interrupt on eol ? bit is set, then an interrupt is generated at the end of the transfer. flag block flag. if set, transfer pauses at the end of this block. if the channel ? interrupt on flag ? bit is set, then an interrupt is generated at the end of this block. stop block stop. if set, transfer pauses at the end of this block. to resume the transfer, write 1 to rx?0[2].
VT8231 preliminary revision 0.8 october 29, 1999 - 113- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o offset 40 ? 3d channel sgd status ....................... rwc 7 sgd active (0 = completed or terminated)........ro 6-3 reserved ........................................ always reads 0 2 sgd stopped ........................................................ro 1 sgd eol ......................................................rwc 0 sgd flag ......................................................rwc i/o offset 41 ? 3d channel sgd control ....................... rw 7 sgd trigger ........................... wo (always reads 0) 0 no effect 1 trigger sgd operation 6 sgd terminate ...................... wo (always reads 0) 0 no effect 1 terminate sgd operation 5 auto restart 0 stop sgd operation at eol 1 restart sgd operation at eol 4sgd pause 0 release sgd pause and resume the transfer from the paused line 1 pause sgd read operation (sgd pointer stays at the current address) 3-2 reserved ........................................ always reads 0 1 interrupt on eol @ end of block 0 disable ...................................................default 1enable 0 interrupt on flag @ end-of-blk 0 disable ...................................................default 1enable i/o offset 42 ? 3d channel sgd format ....................... rw 7pcm format 0 8-bit .....................................................default 1 16-bit 6-4 # of channels 000 -invalid- ..................................................default 001 one channel 010 two channels 011 three channels 100 four channels 101 five channels 110 six channels 111 -invalid- 3-0 reserved ........................................ always reads 0 i/o offset 43 ? scratch ..................................................... rw 7-0 no assigned hardware function i/o offset 47-44 ? 3d channel sgd table pointer ....... rw 31-0 sgd table pointer base address (even addr) .... w current pointer address ....................................... r i/o offset 4b-48 ? 3d channel sgd slot-select ............ rw 31-24 stop index (sgd operation will stop at end of entry) 23-20 slot 9 data select 0000 no data assigned to slot 9 0001 1 st data in the sample is assigned to slot9 0010 2 nd data in the sample is assigned to slot9 0011 3 rd data in the sample is assigned to slot9 0100 4 th data in the sample is assigned to slot9 0101 5 th data in the sample is assigned to slot9 0110 6 th data in the sample is assigned to slot9 0111 -invalid- 1xxx -invalid- 19-16 slot 6 data select 15-12 slot 8 data select 11-8 slot 7 data select 7-4 slot 4 data select 3-0 slot 3 data select i/o offset 4f-4c ? 3d channel sgd current count ..... ro 31-24 current sgd index 23-0 current sgd count
VT8231 preliminary revision 0.8 october 29, 1999 - 114- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o offset 50 ? fm channel sgd status ..................... rwc 7 sgd active (0 = completed or terminated)........ro 6-3 reserved ........................................ always reads 0 2 sgd stopped ........................................................ro 1 sgd eol ......................................................rwc 0 sgd flag ......................................................rwc i/o offset 51 ? fm channel sgd control ...................... rw 7 sgd trigger ........................... wo (always reads 0) 0 no effect 1 trigger sgd operation 6 sgd terminate ...................... wo (always reads 0) 0 no effect 1 terminate sgd operation 5-4 reserved (do not program) ............always write 0 ? s 3sgd pause 0 release sgd pause and resume the transfer from the paused line 1 pause sgd read operation (sgd pointer stays at the current address) 2-0 reserved (no function) ...................................... rw i/o offset 52 ? fm channel sgd type .......................... rw 7 auto restart 0 stop sgd operation at eol 1 restart sgd operation at eol 6-4 reserved ........................................ always reads 0 3-2 interrupt select 00 interrupt at last line pci read 01 interrupt at last sample sent 10 interrupt at less than one line to send 11 -reserved- 1 interrupt on eol @ end of block 0 disable ...................................................default 1enable 0 interrupt on flag @ end-of-blk 0 disable ...................................................default 1enable i/o offset 57-54 ? fm channel sgd table pointer ...... rw 31-0 sgd table pointer base address (even addr).....w current pointer address ........................................r i/o offset 5f-5c ? fm channel sgd current count .... ro 31-24 current sgd index 23-0 current sgd count
VT8231 preliminary revision 0.8 october 29, 1999 - 115- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw i/o offset 60 ? wr channel 0 sgd status ................... rwc 7sgd active (0 = completed or terminated) ...........ro 6 sgd paused ..........................................................ro 5-4 reserved ........................................ always reads 0 3 sgd trigger queued (transaction will restart after eol) ..........................................................ro 2 sgd stopped ........................................................ro 1sgd eol (clear interrupt if rx62[1] is set) ..... rwc 0sgd flag (clear interrupt if rx62[0] is set) ......rwc i/o offset 61 ? wr channel 0 sgd control ................... rw 7 sgd trigger ........................... wo (always reads 0) 0 no effect 1 trigger sgd operation 6 sgd terminate ...................... wo (always reads 0) 0 no effect 1 terminate sgd operation 5-4 reserved ........................................ always reads 0 3sgd pause 0 release sgd pause and resume the transfer from the paused line 1 pause sgd read operation (sgd pointer stays at the current address) 3-2 reserved ........................................ always reads 0 i/o offset 62 ? wr channel 0 sgd format .................... rw 7 auto restart 0 stop sgd operation at eol 1 restart sgd operation at eol 6 recording fifo 0 disable ...................................................default 1enable 5 pcm 8/16 format (0=8bit, 1=16bit) 4 pcm mono/stereo format (0=mono, stereo) 3-2 recording source 00 primary codec 01 secondary codec 01 10 secondary codec 10 11 -reserved- 1 interrupt on eol @ end of block 0 disable ...................................................default 1enable 0 interrupt on flag @ end-of-blk 0 disable ...................................................default 1enable i/o offset 67-64 ? wr channel 0 sgd table pointer .... rw 31-0 sgd table pointer base address (even addr).....w current pointer address ........................................r i/o offset 6f-6c ? wr channel 0 sgd current count . ro 31-24 current sgd index 23-0 current sgd count i/o offset 70 ? wr channel 1 sgd status .................. rwc 7sgd active (0 = completed or terminated) .......... ro 6 sgd paused ......................................................... ro 5-4 reserved ........................................always reads 0 3 sgd trigger queued (transaction will restart after eol) ......................................................... ro 2 sgd stopped........................................................ ro 1sgd eol (clear interrupt if rx62[1] is set)..... rwc 0sgd flag (clear interrupt if rx62[0] is set) ..... rwc i/o offset 71 ? wr channel 1 sgd control................... rw 7 sgd trigger............................wo (always reads 0) 0 no effect 1 trigger sgd operation 6 sgd terminate.......................wo (always reads 0) 0 no effect 1 terminate sgd operation 5-4 reserved ........................................always reads 0 3sgd pause 0 release sgd pause and resume the transfer from the paused line 1 pause sgd read operation (sgd pointer stays at the current address) 3-2 reserved ........................................always reads 0 i/o offset 72 ? wr channel 1 sgd format ................... rw 7 auto restart 0 stop sgd operation at eol 1 restart sgd operation at eol 6 recording fifo 0 disable................................................... default 1enable 5 pcm 8/16 format (0=8bit, 1=16bit) 4 pcm mono/stereo format (0=mono, stereo) 3-2 recording source 00 primary codec 01 secondary codec 01 10 secondary codec 10 11 -reserved- 1 interrupt on eol @ end of block 0 disable................................................... default 1enable 0 interrupt on flag @ end-of-blk 0 disable................................................... default 1enable i/o offset 77-74 ? wr channel 1 sgd table pointer ... rw 31-0 sgd table pointer base address (even addr) .... w current pointer address ....................................... r i/o offset 7f-7c ? wr channel 1 sgd current count . ro 31-24 current sgd index 23-0 current sgd count
VT8231 preliminary revision 0.8 october 29, 1999 - 116- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset e3-e0 ? ac97 controller command / status ...... rw 31-30 codec id ......................................................... rw 00 select primary codec 01 select secondary codec 01 10 select secondary codec 10 11 -reserved- 29 reserved ........................................ always reads 0 28 ac97 controller busy ......................................... ro 0 primary codec is ready for a register access command 1 ac97 controller is sending a command to the primary codec (commands are not accepted) 27 reserved ........................................ always reads 0 26 secondary codec 2 data / status valid ...........rwc 0 not valid 1 valid (ok to read bits 0-23) 25 secondary codec 1 data / status valid ...........rwc 0 not valid 1 valid (ok to read bits 0-23) 24 primary codec data / status valid .................rwc 0 not valid 1 valid (ok to read bits 0-23) 23 codec command register read/write mode .. rw 0 select codec command register write mode 1 select codec command register read mode 22-16 codec command register index [7:1] .............. rw index of the ac97 codec command register to access (in the attached codec). data must be written before or at the same time as index as writing to the index triggers the ac97 controller to access the addressed codec register over the ac-link interface. 15-0 codec command register data / status ........... rw w codec command register data r codec status register data offset f3-f0 ? sgd status shadow ................................. ro 31 reserved ........................................always reads 0 30 write chan 1 sgd stop shadow........... (rx70[2]) 29 write chan 1 sgd eol shadow............. (rx70[1]) 28 write chan 1 sgd flag shadow .......... (rx70[0]) 27 reserved ........................................always reads 0 26 write chan 0 sgd stop shadow........... (rx60[2]) 25 write chan 0 sgd eol shadow............. (rx60[1]) 24 write chan 0 sgd flag shadow .......... (rx60[0]) 23 reserved ........................................always reads 0 22 fm read chan sgd stop shadow ....... (rx50[2]) 21 fm read chan sgd eol shadow ......... (rx50[1]) 20 fm read chan sgd flag shadow....... (rx50[0]) 19 reserved ........................................always reads 0 18 3d read chan sgd stop shadow......... (rx40[2]) 17 3d read chan sgd eol shadow........... (rx40[1]) 16 3d read chan sgd flag shadow ........ (rx40[0]) 15 reserved ........................................always reads 0 14 dx3 read chan sgd stop shadow ...... (rx30[2]) 13 dx3 read chan sgd eol shadow ........ (rx30[1]) 12 dx3 read chan sgd flag shadow ..... (rx30[0]) 11 reserved ........................................always reads 0 10 dx2 read chan sgd stop shadow ...... (rx20[2]) 9 dx2 read chan sgd eol shadow ........ (rx20[1]) 8 dx2 read chan sgd flag shadow ..... (rx20[0]) 7 reserved ........................................always reads 0 6 dx1 read chan sgd stop shadow ...... (rx10[2]) 5 dx1 read chan sgd eol shadow ........ (rx10[1]) 4 dx1 read chan sgd flag shadow ..... (rx10[0]) 3 reserved ........................................always reads 0 2 dx0 read chan sgd stop shadow ...... (rx00[2]) 1 dx0 read chan sgd eol shadow ........ (rx00[1]) 0 dx0 read chan sgd flag shadow ..... (rx00[0])
VT8231 preliminary revision 0.8 october 29, 1999 - 117- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw function 5 i/o base 1 registers ? audio fm nmi status i/o offset 0 ? fm nmi status .......................................... ro 7-2 reserved ........................................ always reads 0 1-0 fm nmi status 00 undefined 01 opl3 bank 0 10 opl3 bank 1 11 undefined i/o offset 1 ? fm nmi data ............................................. ro 7-0 fm nmi data this register allows readback of the data written to the fm data port i/o offset 2 ? fm nmi index ........................................... ro 7-0 fm nmi index this register allows readback of the data written to the fm index port function 5 i/o base 2 registers ? midi / game port i/o offset 1-0 ? midi port base ..................................... rw 15-0 midi port base address .................. default = 0330h this register is functional only if rx42[7] = 1 i/o offset 3-2 ? game port base ..................................... rw 15-0 game port base address ................. default = 0200h
VT8231 preliminary revision 0.8 october 29, 1999 - 118- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw function 6 i/o base 0 regs ? modem scatter/gather dma i/o offset 0 ? modem read channel sgd status ....... rwc 7 sgd active (0 = completed or terminated)........ro 6 sgd paused ..........................................................ro 5-4 reserved ........................................ always reads 0 3 sgd trigger queued (transaction will restart after eol) ..........................................................ro 2 sgd stopped ........................................................ro 1 sgd eol ......................................................rwc 0 sgd flag ......................................................rwc i/o offset 1 ? modem read channel sgd control ....... rw 7 sgd trigger ........................... wo (always reads 0) 0 no effect 1 trigger sgd operation 6 sgd terminate ...................... wo (always reads 0) 0 no effect 1 terminate sgd operation 5-4 reserved (do not program) ............always write 0 ? s 3sgd pause 0 release sgd pause and resume the transfer from the paused line 1 pause sgd read operation (sgd pointer stays at the current address) 2-0 reserved (no function) ...................................... rw i/o offset 2 ? modem read channel sgd type ............ rw 7 auto restart 0 stop sgd operation at eol 1 restart sgd operation at eol 6-4 reserved ........................................ always reads 0 3-2 interrupt select 00 interrupt at last line pci read 01 interrupt at last sample sent 10 interrupt at less than one line to send 11 -reserved- 1 interrupt on eol @ end of block 0 disable ...................................................default 1enable 0 interrupt on flag @ end-of-blk 0 disable ...................................................default 1enable i/o offset 7-4 ? modem sgd read table pointer ......... rw 31-0 sgd table pointer base address (even addr).....w current pointer address ........................................r i/o offset f-c ? modem sgd current read count....... ro 31-24 reserved ........................................ always reads 0 23-0 current sgd read count i/o offset 10 ? modem write channel sgd status ... rwc 7sgd active (0 = completed or terminated) .......... ro 6 sgd paused ......................................................... ro 5-4 reserved ........................................always reads 0 3 sgd trigger queued (transaction will restart after eol) ......................................................... ro 2 reserved ........................................always reads 0 1sgd eol (clear interrupt if rx62[1] is set)..... rwc 0sgd flag (clear interrupt if rx62[0] is set) ..... rwc i/o offset 11 ? modem write channel sgd control ... rw 7 sgd trigger............................wo (always reads 0) 0 no effect 1 trigger sgd operation 6 sgd terminate.......................wo (always reads 0) 0 no effect 1 terminate sgd operation 5-4 reserved ........................................always reads 0 3sgd pause 0 release sgd pause and resume the transfer from the paused line 1 pause sgd read operation (sgd pointer stays at the current address) 3-2 reserved ........................................always reads 0 i/o offset 12 ? modem write channel sgd format .... rw 7 auto restart 0 stop sgd operation at eol 1 restart sgd operation at eol 6-2 reserved ........................................always reads 0 1 interrupt on eol @ end of block 0 disable................................................... default 1enable 0 interrupt on flag @ end-of-blk 0 disable................................................... default 1enable i/o offset 17-14 ? modem wr chan sgd table ptr .... rw 31-0 sgd table pointer base address (even addr) .... w current pointer address ....................................... r i/o offset 1f-1c ? modem wr chan sgd current cnt ro 31-24 current sgd index 23-0 current sgd count
VT8231 preliminary revision 0.8 october 29, 1999 - 119- function 5 & 6 registers - ac97 audio & modem codecs 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw offset 23-20 ? modem codec command / status ............ rw 31-30 codec id ......................................................... rw 00 select primary codec 01 select secondary codec 01 10 select secondary codec 10 11 -reserved- 29-24 reserved ........................................ always reads 0 28 ac97 controller busy ......................................... ro 0 primary codec is ready for a register access command 1 ac97 controller is sending a command to the primary codec (commands are not accepted) 27 reserved ........................................ always reads 0 26 secondary codec 2 data / status valid ...........rwc 0 not valid 1 valid (ok to read bits 0-23) 25 secondary codec 1 data / status valid ...........rwc 0 not valid 1 valid (ok to read bits 0-23) 24 primary codec data / status valid .................rwc 0 not valid 1 valid (ok to read bits 0-23) 23 codec command register read/write mode .. rw 0 select codec command register write mode 1 select codec command register read mode 22-16 codec command register index [7:1] .............. rw index of the ac97 codec command register to access (in the attached codec). data must be written before or at the same time as index as writing to the index triggers the ac97 controller to access the addressed codec register over the ac-link interface. 15-0 codec command register data / status ........... rw w codec command register data r codec status register data offset 33-30 ? codec gpi interrupt status / gpio .... rwc 31-16 gpi interrupt status ........................................ rwc r gpi[15-0] interrupt status w 1 to clear 15-0 codec gpio .........................................................rw r reflect status of codec gpi[15-0] w gpo[15-0]; triggers ac-link slot-12 output to codec offset 37-34 ? codec gpi interrupt enable ................... rw 31-16 interrupt on gpi[15-0] change of status ..........rw 0 disable 1enable 15-0 reserved ........................................always reads 0
VT8231 preliminary revision 0.8 october 29, 1999 - 120- functional descriptions 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw f unctional d escriptions power management p o wer management subsystem overview the power management function of the VT8231 is indicated in the following block diagram: 7+50 3rzhu 3odqh dqg 6\vwhp &rqwuro *3 *oredo 6wdqge\ 7lphu 3:5%71 5, 60, $uelwhu 6ohhs:dnh 6wdwh 0dfklqh 60, 6&,  /hjdf\ 2qo\ (yhqw /rjlf  $&3,  /hjdf\ (yhqw /rjlf  $&3, 2qo\ (yhqw /rjlf  60, (yhqwv  6&,60, (yhqwv 'hf   &38 673&/. dqg &on*hq &rqwuro *3 'hylfh ,goh 7lphu 8vhu ,qwhuidfh +dugzduh (yhqwv 57& 6&,b(1  $&3,  /hjdf\ *hqhulf &rqwuro )hdwxuhv  $&3,  /hjdf\ )l[hg &rqwuro )hdwxuhv  :dnhxs (yhqwv 30 7lphu 6&, $uelwhu %xv 0dvwhu 6/3%71 3ulpdu\ (yhqwv 86% uhvxph /,' *3,2 +dugzduh 0rqlwrulqj figure 6. power management subsystem block diagram refer to acpi specification v1.0 and apm specification v1.2 for additional information. processor bus states the VT8231 supports the complete set of c0 to c3 processor states as specified in the advanced configuration and power interface (acpi) specification (and defined in acpi i/o space registers 10-15): c0: normal operation c1: cpu halt (controlled by software). c2: stop clock. entered when the p_lvl2 register is read. the stpclk# signal is asserted to put the processor in the stop grant state. the cpustp# signal is not asserted so that host clocks remain running. to exit this state, the chip negates stpclk#. c3: suspend. entered when the p_lvl3 register is read. in addition to stpclk# assertion as in the c2 state, the susst1# (suspend status 1) signal is asserted to tell the north bridge to switch to ? suspend dram refresh ? mode based on the 32khz suspend clock (susclk) provided by the VT8231. if the host_stp bit is enabled, then cpustp# is also asserted to stop clock generation and put the cpu into stop clock state. to exit this state, the chip negates cpustp# and allows time for the processor pll to lock. then the susst1# and stpclk# signals are negated to resume to normal operation. during normal operation, two mechanisms are provided to modulate cpu execution and control power consumption by throttling the duty cycle of stpclk#: a. setting the tht_en bit to 1, the duty cycle defined in tht_dty (io space rx10) is used. b. thrm# pin assertion enables automatic clock throttling with duty cycle pre-configured in thm_dty (pci configuration rx4c).
VT8231 preliminary revision 0.8 october 29, 1999 - 121- functional descriptions 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw system suspend states and power plane control there are three power planes inside the VT8231. the first power plane (vccs) is always on unless turned off by the mechanical switch. the second power plane (vcc) is controlled by chip output susc# (also called ? pson ? ). the third plane (vccrtc) is powered by the combination of the vccs and the external battery (vbat) for the integrated real time clock. most of the circuitry inside the VT8231 is powered by vcc. the amount of logic powered by vccs is very small; its main function is to control the supply of vcc and other power planes. vccrtc is always on unless both the mechanical switch and vbat are removed. the VT8231 supports multiple system suspend states by configuring the slp_typ field of acpi i/o space register rx4-5: a) pos (power on suspend): most devices in the system remain powered. the host bus is put into an equivalent of the c3 state. in particular, the cpu is put into the stop grant state or stop clock state depending on the setting of the host_stp bit. susst1# is asserted to tell the north bridge to switch to ? suspend dram refresh ? mode based on the 32khz susclk provided by the VT8231. as to the pci bus, setting the pclk_run bit to 0 enables the clkrun protocol defined in the pci mobile design guide. that is, the pckrun# pin will be de- activated after the pci bus is idle for 26 clocks. any pci bus masters including the north bridge may resume pci clock operation by pulling the pckrun# pin low. during the pckrun# de- activation period, the pcistp# pin may be activated to disable the output of the pci clock generator if the pci_stp bit is enabled. when the system resumes from pos, the VT8231 can optionally resume without resetting the system, can reset the processor only, or can reset the entire system. when no reset is performed, the chip only needs to wait for the clock synthesizer and processor pll to lock before the system is resumed, which typically takes 20ms. b) str (suspend to ram): power is removed from most of the system except the system dram. power is supplied to the suspend refresh logic in the north bridge (vtt of vt82c598) and the suspend logic of the VT8231 (vccs). the VT8231 provides a 32khz suspend clock to the north bridge for it to use to continue dram refresh. c) std (suspend to disk, also called soft-off): power is removed from most of the system except the suspend logic of VT8231 (vccs). d) mechanical off: this is not a suspend state. all power in the system is removed except the rtc battery. the suspend state is entered by setting the slp_en bit to 1. three power plane control signals (susa#, susb# and susc#) are provided to turn off more system power planes as the system moves to deeper power-down states, i.e., from normal operation to pos (only susa# asserted), to str (both susa# and susb# asserted), and to std (all three sus# signals asserted). in particular, the assertion of susc# can be used to turn off the vcc supply to the VT8231. one additional suspend status indicator (susst1#) is provided to inform the north bridge and the rest of the system of the processor and system suspend states. susst1# is asserted when the system enters the suspend state or the processor enters the c3 state. susst1# is connected to the north bridge to switch between normal and suspend-dram- refresh modes. general purpose i/o ports as acpi compliant hardware, the VT8231 includes pwrbtn#, slpbtn#, and ri# pins to implement power button, sleep button, and ring indicator functionality, respectively. furthermore, the VT8231 offers many general- purpose i/o ports with the following capabilities:  i 2 c/smb support  thermal detect  notebook lid open/close detect  battery low detect  twelve general purpose input ports (multiplexed with other functions).  nineteen general purpose output ports (1 dedicated and 18 multiplexed with other functions)  four general purpose input / output ports (multiplexed with other functions) in addition, the VT8231 provides an external dedicated smi pin (extsmi#). the external smi input can be programmed to trigger an sci or smi at both the rising and falling edges of the corresponding input signal. software can check the status of the input pin and take appropriate actions.
VT8231 preliminary revision 0.8 october 29, 1999 - 122- functional descriptions 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw power management events three types of power management events are supported: 1) acpi-required fixed events defined in the pm1a_sts and pm1a_en registers. these events can trigger either sci or smi depending on the sci_en bit:  pwrbtn# triggering  rtc alarm  sleep button  acpi power management timer carry (always sci)  bios release (always sci) 2) acpi-aware general purpose function events defined in the gp_sts and gp_sci_en, and gp_smi_en registers. these events can trigger either sci or smi depending on the setting of individual smi and sci enable bits:  external smi triggering  usb resume  ring indicator (ri#)  battery low detect (batlow#)  notebook lid open/close detect (lid)  thermal detect (thrm#) 3) generic global events defined in the gbl_sts and gbl_en registers. these registers are mainly used for smi:  pci bus clock run resume  primary interrupt occurance  gp0 and gp1 timer time out  secondary event timer time out  occurrence of primary events (defined in register pact_sts and pact_en)  legacy usb accesses (keyboard and mouse) - software smi system and processor resume events depending on the system suspend state, different features can be enabled to resume the system. there are two classes of resume events: a) vccs-based events. event logic resides in the vccs plane and thus can resume the system from any suspend state. such events include pwrbtn#, ri#, batlow#, lid, smbus resume event, rtc alarm, extsmi#, and gp1 (extsmi1#). b) vcc-based events. event logic resides in the vcc plane and thus can only resume the system from the pos state. such events include the acpi pm timer, usb resume, and extsmin#. pckrun# pclk hclk gclk host cpu cpu bus cke# memory bus smbus isa vt82c598 (apollo mvp3) or vt82c693 (apollo proplus) fpg, edo, or sdram (sdr or ddr) 3d graphics controller agp bus pcistp# gpio and acpi events bios rom l2 cache (socket-7 only) gckrun# pci bus ide usb power plane & peripheral control vt82c686a super south ke y board / mouse cpustp# clock generator mclk hclk gclk pclk smi# / stpclk# susclk, susst1# smiact# module id figure 7. system block diagram using the VT8231 super south bridge
VT8231 preliminary revision 0.8 october 29, 1999 - 123- functional descriptions 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw legacy power management timers in addition to the acpi power management timer, the VT8231 includes the following four legacy power management timers: gp0 timer : general purpose timer with primary event gp1 timer : general purpose timer with peripheral event reload secondary event timer : to monitor secondary events conserve mode timer : hardware-controlled return to standby the normal sequence of operations for a general purpose timer (gp0 or gp1) is to 1) first program the time base and timer value of the initial count (register gp_tim_cnt). 2) then activate counting by setting the gp0_start or gp1_start bit to one: the timer will start with the initial count and count down towards 0. 3) when the timer counts down to zero, an smi will be generated if enabled (gp0to_en and gp1to_en in the gbl_en register) with status recorded (gp0to_sts and gp1to_sts in the gbl_sts register). 4) each timer can also be programmed to reload the initial count and restart counting automatically after counting down to 0. this feature is not used in standard via bios. the gp0 and gp1 timers can be used just as the general purpose timers described above. however, they can also be programmed to reload the initial count by system primary events or peripheral events thus used as primary event (global standby) timer and peripheral timer, respectively. the secondary event timer is solely used to monitor secondary events. system primary and secondary events primary system events are distinguished in the pri_act_sts and pri_act_en registers: bit event trigger 7 keyboard access i/o port 60h 6 serial port access i/o ports 3f8h-3ffh, 2f8h-2ffh, 3e8h-3efh, or 2e8h-2efh 5 parallel port access i/o ports 378h-37fh or 278h-27fh 4 video access i/o ports 3b0h-3dfh or memory a/b segments 3 ide/floppy access i/o ports 1f0h-1f7h, 170h-177h, or 3f5h 2 reserved 1 primary interrupts each channel of the interrupt controller can be programmed to be a primary or secondary interrupt 0 isa master/dma activity each category can be enabled as a primary event by setting the corresponding bit of the pri_act_en register to 1. if enabled, the occurrence of the primary event reloads the gp0 timer if the pact_gp0_en bit is also set to 1. the cause of the timer reload is recorded in the corresponding bit of pri_act_sts register while the timer is reloaded. if no enabled primary event occurs during the count down, the gp0 timer will time out (count down to 0) and the system can be programmed (setting the gp0to_en bit in the gbl_en register to one) to trigger an smi to switch the system to a power down mode. the VT8231 disti nguishes two kinds of interrupt requests as far as power management is concerned: the primary and secondary interrupts. like other primary events, the occurrence of a primary interrupt demands that the system be restored to full processing capability. secondary interrupts, however, are typically used for housekeeping tasks in the background unnoticeable to the user. the vt 8231 allows each channel of interrupt request to be declared as either primary, secondary, or ignorable in the pirq_ch and sirq_ch registers. secondary interrupts are the only system secondary events defined in the VT8231. like primary events, primary interrupts can be made to reload the gp0 timer by setting the pirq_en bit to 1. secondary interrupts do not reload the gp0 timer. therefore the gp0 timer will time out and the smi routine can put the system into power down mode if no events other than secondary interrupts are happening periodically in the background. primary events can be programmed to trigger an smi (setting of the pact_en bit). typically, this smi triggering is turned off during normal system operation to avoid degrading system performance. triggering is turned on by the smi routine before entering the power down mode so that the system may be returned to normal operation at the occurrence of primary events. at the same time, the gp0 timer is reloaded and the count down process is restarted. peripheral events primary and secondary events define system events in general and the response is typically expressed in terms of system events. individual peripheral events can also be monitored by the VT8231 thro ugh the gp1 timer. the following four categories of peripheral events are distinguished (via register gp_rld_en): bit-7 keyboard access bit-6 serial port access bit-4 video access bit-3 ide/floppy access the four categories are subsets of the primary events as defined in pri_act_en and the occurrence of these events can be checked through a common register pri_act_sts. as a peripheral timer, gp1 can be used to monitor one (or more than one) of the above four device types by programming the corresponding bit to one and the other bits to zero. time out of the gp1 timer indicates no activity of the corresponding device type and appropriate action can be taken as a result.
VT8231 preliminary revision 0.8 october 29, 1999 - 124- electrical specifications 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw e lectrical s pecifications absolute maximum ratings parameter min max unit comment storage temperature -55 125 o ct s operating temperature - case 0 85 o ct c operating temperature - ambient 0 70 o ct a reference voltage 0 5.5 volts v ref core voltage 0 3.6 volts v cc suspend voltage -0.5 v cc + 0.3 volts v sus usb voltage -0.5 v cc + 0.3 volts v usb hardware monitor voltage -0.5 v cc + 0.3 volts v hwm lan mii voltage -0.5 v cc + 0.3 volts v mii lan ram voltage -0.5 v cc + 0.3 volts v ram pll voltage -0.5 v cc + 0.3 volts v pll battery voltage -0.5 v cc + 0.3 volts v bat input voltage (3.3v only inputs) -0.5 v cc + 0.3 volts ferr#, usbclk, pwrbtn#, extsmi#, batlow#, fan1, fan2, smbclk, smbdata input voltage (5v tolerant inputs) -0.5 v ref + 0.5 volts all other inputs note: stress above the conditions listed may cause permanent damage to the device. functional operation of this device should be restricted to the conditions described under operating conditions. dc characteristics t a -0-70 o c, v ref =5v 5%,, v bat =3.3v +0.3/-1.3v, gnd=0v v cc =v ccsus =v cchwm =v ccusb =v ccmii =v ccram =v ccpll =3.3v 0.3v symbol parameter min max unit condition v il input low voltage -0.5 0.8 v v ih input high voltage 2.0 v cc +0.3 v v ol output low voltage - 0.45 v i ol = 4.0ma v oh output high voltage 2.4 - v i oh = -1.0ma i il input leakage current - 10 ua 0 < v in < v cc i oz tristate leakage current - 20 ua 0.45 < v out < v cc i cc power supply current - 80 ma
VT8231 preliminary revision 0.8 october 29, 1999 - 125- electrical specifications 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw output drive t a -0-70 o c, v ref =5v 5%,, v bat =3.3v +0.3/-1.3v, gnd=0v v cc =v ccsus =v cchwm =v ccusb =v ccmii =v ccram =v ccpll =3.3v 0.3v drive signal load delay 4 ma gpo0, gpioa, gpioc, gpiod, gpioe, eecs#, eeck, eedo, apicd[1:0], smbck1, smbck2, smbdt1, smbdt2, susa#, susb#, susc#, susclk, susst1#, a20m#, init, intr, nmi, romcs#, stpclk#, cpurst, smi#, ignne#, slp#, txd, rts#, dtr#, irtx 50 pf 50 pf 50 pf 50 pf 50 pf 15 ns 15 ns 15 ns 15 ns 15 ns 8 ma kbdt, kbck, msdt, msck, pcistp#, cpustp#, sd[15:0], pdd[15:0], sdd[15:0], mdck, mdio, mtxena, mtxd[3:0], preql#, preqh# 50 pf 50 pf 50 pf 50 pf 30 pf 10 ns 8 ns 8 ns 8 ns 6 ns 12 ma pdcs1#, pdcs3#, sdcs1#, sdcs3#, pda[2:0], sda[2:0], pddack#, sddack#, pdior#, pdiow#, sdior#, sdiow# 40 pf 40 pf 8 ns 8 ns 16 ma la[21:20], sa[19:0], memr#, memw#, ior#, iow#, pcirst# 85 pf 10 ns pci ad[31:0], cbe[3:0]#, frame#, devsel#, irdy#, trdy#, stop#, par, pckrun# 50 pf 50 pf 6 ns 5 ns lframe#, lad[3:0], usbp[3:0]+/- acrst, acsync, acsdout, mso pcs0#, pcs1#, mccs#, spkr drvden[1:0], mtr[1:0]#, ds[1:0]#, dir#, step#, hdsel#, wdata#, wgate# pinit#, strobe#, autofd#, slctin#, pd[7:0] rtcx2 input voltage t a -0-70 o c, v ref =5v 5%,, v bat =3.3v +0.3/-1.3v, gnd=0v v cc =v ccsus =v cchwm =v ccusb =v ccmii =v ccram =v ccpll =3.3v 0.3v input voltage signal analog dtd+/-, uic[5:1] 1.5 ? 3.3v programmable threshold ferr# 5v ad[31:0], cbe[3:0]#, frame#, devsel#, irdy#, trdy#, stop#, serr#, par, serirq, pckrun# 3.3v (5v tolerant) pgnth#, pgntl#, pint[a:d]#, sa[19:0], sd[15:0], memr#, memw#, ior#, iow#, osc, pdd[15:0], sdd[15:0], pddrq, sddrq, pdrdy, sdrdy, irq14, irq15, kbck, kbdt, msck, msdt, gamed[7:0], index#, trk00#, rdata#, dskchg#, wrtprt#, pd[7:0], pinit#, strobe#, autofd#, slctin#, slct, ack#, error#, busy, pe, rxd, cts#, dsr#, dcd#, ri#, irrx, irrx2, smbck1, smbck2, smbdt1, smbdt2, smbalrt#, mcol, mcrs, mdio, mrxclk, mrxd[3:0], mrxdv, mrxerr, mtxclk, msi, acsdin[2:0], acbitclk, gpioa, gpioc, gpiod, gpioe, gpi0, gpi1, pwrgd, batlow#, thrm 3.3 v usbp[3:0]+/-, usbclk, usboc[1:0]#, ldrq#, lad[3:0], eedi, pciclk, apicclk, wsc#, fan1, fan2 / slpbtn#, pwrbtn#, rtcx1, extsmi#, rsmrst#, pme#, lid, ring#, cpumiss, intruder#
VT8231 preliminary revision 0.8 october 29, 1999 - 126- package mechanical specifications 7hfkqrorjlhv ,qf :h & rqqhfw :h & rqqhfw p ackage m echanical s pecifications figure 8. mechanical specifications ? 376 pin ball grid array package 4.00*45 (4x) 24.00 ref. 24.00 ref. reference document: jedec spec mo-151 pin #1 corner ? 1.00 (3x) ref. ? 0.750.15 (376x)   

 = 0 y = date code year w = date code week v = chip version r = revision code l = lot code


▲Up To Search▲   

 
Price & Availability of VT8231

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X